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

# Audience lookup



## OpenAPI

````yaml /openapi.yaml get /audiences/{id}
openapi: 3.0.0
info:
  title: AudienceLab API
  version: 1.0.0
  description: API endpoints for AudienceLab
servers:
  - url: https://api.audiencelab.io
    description: Production API
security:
  - ApiKeyAuth: []
tags:
  - name: Audience
  - name: Pixel
  - name: Enrichment
paths:
  /audiences/{id}:
    get:
      tags:
        - Audience
      summary: Audience lookup
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: The UUID of the audience to fetch
          example: aa1a0c14-2dff-4389-b025-06a308df9ee9
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
          description: Page number (1-indexed)
          example: 1
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 1000
            default: 100
          description: Number of items per page (max 1000)
          example: 100
      responses:
        '200':
          description: Successfully retrieved audience data
          content:
            application/json:
              schema:
                type: object
                properties:
                  total_records:
                    type: integer
                    example: 500
                  page_size:
                    type: integer
                    example: 100
                  page:
                    type: integer
                    example: 1
                  total_pages:
                    type: integer
                    example: 5
                  data:
                    type: array
                    items:
                      type: object
                      additionalProperties:
                        type: string
                      description: CSV row data as key-value pairs
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Audience not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: NOT_FOUND
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          example: error message
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key

````