Skip to main content
GET
This endpoint retrieves a list of all voice samples that have been uploaded for a specific assistant’s organization.

Path Parameters

  • assistant_id (integer, required): The unique identifier of the assistant whose voice samples you want to list.

Query Parameters

  • status (string, optional): Filter voice samples by processing status.
    • Allowed values: uploaded, processing, ready, failed

Response

The response is a JSON object containing an array of voice sample objects.
Response

Response Fields

  • id (integer): Unique identifier for the voice sample
  • name (string): Display name of the voice sample
  • original_filename (string): Original filename of the uploaded audio
  • content_type (string): MIME type of the audio file
  • file_size (integer): Size of the audio file in bytes
  • duration_seconds (float): Duration of the audio in seconds
  • status (string): Processing status of the sample
  • error_message (string): Error message if processing failed
  • tags (array): Array of tags associated with the sample
  • created_at (string): ISO 8601 timestamp of when the sample was uploaded

Status Values

  • uploaded: Sample uploaded successfully, ready for voice cloning
  • processing: Sample is being processed (validation, analysis)
  • ready: Sample processed and available for voice cloning
  • failed: Sample processing failed, check error_message

Example Request

cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

assistant_id
integer
required

Query Parameters

status
string | null

Filter by status

Response

Successful Response