Get Voice Sample
Samples
Get Voice Sample
Download a single training sample as audio or JSON metadata.
GET
Get Voice Sample
Overview
Returns a single training sample for a voice you own. By default the response is the raw WAV audio. Pass?format=json to get the metadata plus base64-encoded audio instead.
Only voices owned by your org return samples. Default voices and shared-library voices return 400 VOICE_SAMPLE_ERROR.
Headers
string
required
Your API key for authentication.
Path Parameters
string
required
UUID of the parent voice.
string
required
UUID of the sample to fetch.
Query Parameters
string
default:"audio"
Response format.
audio returns the raw WAV binary, json returns sample metadata with base64-encoded audio under data.Response
Withformat=audio (default), returns the WAV binary with:
Content-Type: audio/wavContent-Disposition: attachment; filename="sample-<id>.wav"
format=json, returns sample metadata.
object
Only present in JSON mode.
Docs for agents: llms.txt