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

# List cached audio entries

> List cached TTS audio entries for an agent with metadata including transcript, provider, voice, duration, and hit count.



## OpenAPI

````yaml GET /v1/agents/{agentId}/audio-cache
openapi: 3.1.0
info:
  title: PolyAI Agents API
  version: 1.0.11
  description: Manage PolyAI agents, telephony, deployments, and real-time configs.
servers:
  - url: https://api.us.poly.ai
    description: US region
  - url: https://api.eu.poly.ai
    description: EU region
  - url: https://api.uk.poly.ai
    description: UK region
  - url: https://api.studio.poly.ai
    description: Studio region
security:
  - polyApiKey: []
paths:
  /v1/agents/{agentId}/audio-cache:
    parameters:
      - name: agentId
        in: path
        required: true
        schema:
          type: string
    get:
      tags:
        - Audio Cache
      summary: List cached audio entries
      description: >-
        List cached TTS audio entries for an agent with metadata including
        transcript, provider, voice, duration, and hit count.
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
          description: Max entries to return (1-200)
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
          description: Pagination offset
        - name: sort
          in: query
          required: false
          schema:
            type: string
          description: Sort expression, e.g. 'hit_count:desc', 'duration:asc'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAudioCacheResponse'
        '400':
          description: >-
            Invalid request – the `sort` or `filter` expression could not be
            parsed
        '401':
          description: Unauthorized – missing or invalid API key
        '403':
          description: >-
            Forbidden – the API key does not have `read` permission on the audio
            cache resource
components:
  schemas:
    ListAudioCacheResponse:
      type: object
      required:
        - entries
        - totalCount
      properties:
        entries:
          type: array
          items:
            $ref: '#/components/schemas/AudioCacheEntry'
        totalCount:
          type: integer
          description: Total matching entries before pagination
    AudioCacheEntry:
      type: object
      required:
        - id
        - transcript
        - cachedAt
        - hitCount
        - duration
        - regenerated
        - provider
        - providerVoiceId
        - imported
      properties:
        id:
          type: string
          description: >-
            Audio cache entry ID. Although serialized as a string, the ID is
            numeric — endpoints that accept an `entryId` path parameter return
            `400 Invalid ID` if the value cannot be parsed as an integer.
        transcript:
          type: string
          description: Transcript used for cache lookup
        cachedAt:
          type: string
          format: date-time
          description: ISO 8601 timestamp of when entry was cached
        hitCount:
          type: integer
          description: Number of cache hits
        duration:
          type: number
          format: float
          description: Audio duration in seconds
        regenerated:
          type: boolean
          description: Whether this entry has been regenerated
        provider:
          type: string
          description: >-
            TTS provider tied to this audio cache entry (e.g. 'eleven_labs',
            'google', 'play_ht', 'cartesia', 'hume', 'minimax', 'rime',
            'poly_tts', 'resemble', 'nemo', 'microsoft')
        providerVoiceId:
          type: string
          description: >-
            The ID of the voice cataloged in the TTS provider's system. If your
            TTS provider is PolyAI, this is an internally assigned voice ID. If
            you are using a third-party provider, this is the voice ID from that
            provider's catalog (e.g. '21m00Tcm4TlvDq8ikWAM' for ElevenLabs,
            'en-US-Neural2-A' for Google).
        audioFilename:
          type: string
          nullable: true
          description: Original audio filename, if any.
        imported:
          type: boolean
          description: Whether this entry was imported
        languageCode:
          type: string
          default: ''
          description: >-
            BCP-47 language code. May be an empty string for legacy entries
            created before language was tracked.
  securitySchemes:
    polyApiKey:
      type: apiKey
      in: header
      name: X-API-KEY

````