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

# List Audio Files

> List all audio files in a dataset with pagination.

Supports filtering by processing status:
- pending: Awaiting upload confirmation
- normalizing: Being processed (normalized audio)
- embedding: Generating embeddings
- ready: Fully processed and ready for use
- failed: Processing failed



## OpenAPI

````yaml get /api/v1/datasets/{dataset_id}/audio
openapi: 3.1.0
info:
  title: Relay API
  description: Voice AI Artifact Detection Platform
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/datasets/{dataset_id}/audio:
    get:
      tags:
        - audio
      summary: List Audio Files
      description: |-
        List all audio files in a dataset with pagination.

        Supports filtering by processing status:
        - pending: Awaiting upload confirmation
        - normalizing: Being processed (normalized audio)
        - embedding: Generating embeddings
        - ready: Fully processed and ready for use
        - failed: Processing failed
      operationId: list_audio_files_api_v1_datasets__dataset_id__audio_get
      parameters:
        - name: dataset_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Dataset Id
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            description: Page number
            default: 1
            title: Page
          description: Page number
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Items per page
            default: 50
            title: Page Size
          description: Items per page
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by processing status
            title: Status
          description: Filter by processing status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudioListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    AudioListResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/AudioFileSummary'
          type: array
          title: Items
        total:
          type: integer
          title: Total
        page:
          type: integer
          title: Page
        page_size:
          type: integer
          title: Page Size
        has_more:
          type: boolean
          title: Has More
      type: object
      required:
        - items
        - total
        - page
        - page_size
        - has_more
      title: AudioListResponse
      description: Paginated audio file list response.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AudioFileSummary:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        original_filename:
          type: string
          title: Original Filename
        file_size_bytes:
          type: integer
          title: File Size Bytes
        duration_ms:
          anyOf:
            - type: integer
            - type: 'null'
          title: Duration Ms
        processing_status:
          type: string
          enum:
            - pending
            - normalizing
            - embedding
            - ready
            - failed
          title: Processing Status
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - id
        - original_filename
        - file_size_bytes
        - duration_ms
        - processing_status
        - created_at
      title: AudioFileSummary
      description: Summary response for audio file listing.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````