Skip to main content
PATCH
/
v1
/
agents
/
{agentId}
/
audio-cache
/
{entryId}
/
file
Replace cached audio file
curl --request PATCH \
  --url https://api.us.poly.ai/v1/agents/{agentId}/audio-cache/{entryId}/file \
  --header 'Content-Type: audio/wav' \
  --header 'X-API-KEY: <api-key>' \
  --data '"<string>"'

Authorizations

X-API-KEY
string
header
required

Headers

X-Filename
string

Optional filename for the uploaded audio. Defaults to .wav.

Path Parameters

agentId
string
required
entryId
string
required

Audio cache entry ID

Body

audio/wav

The body is of type file.

Response

Audio file replaced

Last modified on June 10, 2026