Path Parameters
assistant_id(integer, required): The unique identifier of the assistant to associate the voice sample with.
Form Data
The request must be sent asmultipart/form-data.
file(file, required): The audio file to upload. Supported formats: MP3, WAV, FLAC, M4A, OGG.name(string, optional): Custom name for the voice sample. Defaults to filename if not provided.description(string, optional): Description of the voice sample.tags(string, optional): Comma-separated tags for organizing voice samples.
File Requirements
- Formats: MP3, WAV, FLAC, M4A, OGG
- Size: Maximum 50MB
- Duration: 10 seconds to 10 minutes
- Quality: 22kHz+ sample rate, 128kbps+ bit rate recommended
- Content: Clear speech, single speaker, minimal background noise
Response
A successful upload returns the voice sample object with processing status.Response
Example Request
cURL