> ## 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.

# Download cached audio file

> Download the cached audio file as a WAV binary. Returns the raw audio bytes for the given cache entry ID.



## OpenAPI

````yaml GET /v1/agents/{agentId}/audio-cache/{entryId}/file
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/{entryId}/file:
    parameters:
      - name: agentId
        in: path
        required: true
        schema:
          type: string
      - name: entryId
        in: path
        required: true
        schema:
          type: string
        description: Audio cache entry ID
    get:
      tags:
        - Audio Cache
      summary: Download cached audio file
      description: >-
        Download the cached audio file as a WAV binary. Returns the raw audio
        bytes for the given cache entry ID.
      responses:
        '200':
          description: Successful response
          content:
            audio/wav:
              schema:
                type: string
                format: binary
        '400':
          description: Invalid request – `entryId` is not a numeric ID
        '401':
          description: Unauthorized – missing or invalid API key
        '403':
          description: >-
            Forbidden – the API key does not have `read` permission on the audio
            cache resource
        '404':
          description: Resource not found
components:
  securitySchemes:
    polyApiKey:
      type: apiKey
      in: header
      name: X-API-KEY

````