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

# Audio library

> Manage cached audio files to reduce voice latency.

Use the audio library to reduce voice latency and control how your agent sounds during key moments – greetings, transfer messages, and other frequently spoken phrases. Caching these responses means callers hear them faster and with consistent quality, instead of waiting for real-time TTS generation on every call.

Open the Voice page and select the **Audio library** tab.

<img src="https://mintcdn.com/polyai/Qu880HppNqT19Eyr/images/audio-management/audio-management-1.png?fit=max&auto=format&n=Qu880HppNqT19Eyr&q=85&s=c7e146746b49cc3e4af937af56cd0d6f" alt="Audio library tab" width="2486" height="1218" data-path="images/audio-management/audio-management-1.png" />

## Managing cached audio

1. Open the **Audio library** tab.
2. Review all audio saved to the cache and monitor how often it has been used by the agent.
3. You can delete cached files and upload new ones to overwrite existing audio.

<Tabs>
  <Tab title="Edit options">
    You can edit the **stability** and **clarity** of the agent's voice specifically for this utterance. The edit tab also includes sync <Icon icon="arrows-rotate" iconType="solid" /> and play <Icon icon="play" iconType="solid" /> buttons so you can test changes live in the edit panel.

    <img src="https://mintcdn.com/polyai/Qu880HppNqT19Eyr/images/audio-management/audio-management-edit-options.png?fit=max&auto=format&n=Qu880HppNqT19Eyr&q=85&s=3cb6189c5961d1b6ada4a1d3f16f0780" alt="audio-management-edit-options" width="1412" height="1192" data-path="images/audio-management/audio-management-edit-options.png" />
  </Tab>

  <Tab title="Add IPA syntax">
    You can add [IPA syntax](https://en.wikipedia.org/wiki/International_Phonetic_Alphabet) (International Phonetic Alphabet) to ensure your agent precisely pronounces industry-specific or non-traditionally pronounced terms, names, or domain-specific language.

    <img src="https://mintcdn.com/polyai/Qu880HppNqT19Eyr/images/audio-management/audio-management-audio-complete.png?fit=max&auto=format&n=Qu880HppNqT19Eyr&q=85&s=92fb32768fdbeb1f1fb1bbd2a3c3659a" alt="audio-management-audio-complete" width="1190" height="636" data-path="images/audio-management/audio-management-audio-complete.png" />
  </Tab>
</Tabs>

<Tip>
  **Why am I only seeing a few cached audios?**
  The audio cache stores a file only if the same TTS is generated **at least twice within a 24-hour window**. This helps manage cache size and performance. If a particular utterance isn't used multiple times within that period, it won't persist in the cache and may appear missing.
  To ensure key audios remain cached, consider generating them repeatedly or uploading static versions manually.
</Tip>

## Manage audio cache via API

You can also manage the audio cache programmatically with the [Agents API](/api-reference/agents/introduction). The audio cache endpoints let you list cached entries, download or replace audio files, synthesize previews, and bulk-delete entries.

Common use cases:

* **CI workflows** — verify that critical prompts are cached, and fail the build if they aren't.
* **Scripted refreshes** — regenerate cached audio after changing voice or tuning settings without going through the UI.
* **Migrating audio between agents** — list entries on a source agent, download the WAV files, and re-upload them under matching transcripts on a target agent.
* **Previewing tuning changes** — call [Synthesize audio preview](/api-reference/agents/endpoint/audio-cache/synthesize-audio-preview) to hear how new text or `VoiceTuningConfig` settings will sound before committing them to the cache.

<Note>
  Audio cache endpoints are gated by the `audio_cache` resource permission on the API key. `read` is required to list, download, or synthesize previews; `write` is required to delete, bulk-delete, replace an audio file, or update audio and settings. Entry IDs are numeric — requests with non-numeric IDs return `400 Invalid ID`. Audio files are limited to 6 MB.
</Note>

## Related pages

<CardGroup cols={3}>
  <Card title="Advanced voice settings" icon="gear" href="/voice-channel/advanced/call-settings">
    Configure model, barge-in, and speech recognition settings
  </Card>

  <Card title="Voice settings" icon="user" href="/voice-channel/agent">
    Select voices and configure greeting and disclaimer
  </Card>

  <Card title="Pronunciations" icon="volume-high" href="/voice-channel/advanced/call-settings#pronunciation">
    Control how your agent pronounces specific terms
  </Card>
</CardGroup>
