> ## Documentation Index
> Fetch the complete documentation index at: https://developers.criteo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# /2025-10/marketing-solutions/audiences/compute-sizes

> Gets the size of all audiences. An error is returned for those whose size calculation is not supported.



## OpenAPI

````yaml https://api.criteo.com/2025-10/marketingsolutions/open-api-specifications.json post /2025-10/marketing-solutions/audiences/compute-sizes
openapi: 3.0.1
info:
  title: Criteo API
  description: Criteo API - MarketingSolutions
  version: 2025-10
servers:
  - url: https://api.criteo.com
security:
  - oauth: []
tags:
  - name: Advertiser
  - name: Analytics
  - name: Audience
  - name: Campaign
  - name: Creative
  - name: Gateway
  - name: Reco
paths:
  /2025-10/marketing-solutions/audiences/compute-sizes:
    post:
      tags:
        - Audience
      summary: /2025-10/marketing-solutions/audiences/compute-sizes
      description: >-
        Gets the size of all audiences. An error is returned for those whose
        size calculation is not supported.
      operationId: ComputeAudiencesSizes
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AudienceComputeSizesInputV1'
        required: true
        x-bodyName: request
      responses:
        '200':
          description: Success or partial success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceSizeEntityV1ListResponse'
      security:
        - oauth:
            - MarketingSolutions_Audience_Manage
components:
  schemas:
    AudienceComputeSizesInputV1:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/AudienceComputeSizeEntityV1Resource'
      description: Input to retrieve the size of one or more audiences.
    AudienceSizeEntityV1ListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/AudienceSizeEntityV1Resource'
          nullable: true
        errors:
          type: array
          items:
            $ref: '#/components/schemas/CommonProblem'
          nullable: true
          readOnly: true
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/CommonProblem'
          nullable: true
          readOnly: true
      description: >-
        A top-level object that encapsulates a Criteo API response for several
        entities
    AudienceComputeSizeEntityV1Resource:
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/AudienceComputeSizeEntityV1'
        id:
          type: string
          description: Id of the entity
        type:
          type: string
      description: A class that represents a domain entity exposed by an API
    AudienceSizeEntityV1Resource:
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/AudienceSizeEntityV1'
        id:
          type: string
          description: Id of the entity
          nullable: true
        type:
          type: string
          nullable: true
      description: A class that represents a domain entity exposed by an API
    CommonProblem:
      type: object
      properties:
        code:
          type: string
          description: A machine-readable error code, expressed as a string value.
          nullable: true
        detail:
          type: string
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem
          nullable: true
        instance:
          type: string
          description: A URI that identifies the specific occurrence of the problem.
          nullable: true
        source:
          type: object
          additionalProperties:
            type: string
          description: >-
            A machine-readable structure to reference to the exact location(s)
            causing the error(s)
          nullable: true
        stackTrace:
          type: string
          nullable: true
        title:
          type: string
          description: A short human-readable description of the problem type
          nullable: true
        traceId:
          type: string
          description: The request correlation ID this problem comes from.
          nullable: true
        traceIdentifier:
          type: string
          description: >-
            The request correlation ID this problem comes from. (deprecated, use
            traceId instead)
          nullable: true
        type:
          enum:
            - unknown
            - access-control
            - authentication
            - authorization
            - availability
            - deprecation
            - quota
            - validation
          type: string
          description: The problem's category.
          nullable: true
      description: Common problem object.
    AudienceComputeSizeEntityV1:
      type: object
      description: Audience of people of interest for a marketer.
      x-criteo-canonical:
        infoType: entity
        name: Audience
        version: v1
    AudienceSizeEntityV1:
      type: object
      properties:
        size:
          type: integer
          format: int64
          nullable: true
      description: Audience entity only with its size
      nullable: true
      x-criteo-canonical:
        infoType: entity
        name: AudienceSize
        version: v1
  securitySchemes:
    oauth:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.criteo.com/oauth2/token
          scopes: {}
        authorizationCode:
          authorizationUrl: https://api.criteo.com/oauth2
          tokenUrl: https://api.criteo.com/oauth2/token
          scopes: {}

````