Audio Cache
Replace cached audio file
Replace the audio file for an existing cache entry. Send raw WAV bytes as the request body with Content-Type: audio/wav. Optionally include an X-Filename header to name the file, otherwise defaults to <entryId>.wav. Maximum file size is 6 MB.
patch/v1/agents/{agentId}/audio-cache/{entryId}/file
Request
- Base URLhttps://api.us.poly.ai
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Filenamestring
Optional filename for the uploaded audio. Defaults to <entryId>.wav.
Request body audio/wav
string binary required
Response
Audio file replaced
Changes
No recorded changes to this operation across all 1 revision of this API.