> ## Documentation Index
> Fetch the complete documentation index at: https://docs.burki.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# List Voice Samples

> List voice samples for organization.

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.

```json Response theme={null}
{
  "success": true,
  "voice_samples": [
    {
      "id": 123,
      "name": "Professional Voice Sample",
      "original_filename": "professional_voice.wav",
      "content_type": "audio/wav",
      "file_size": 2457600,
      "duration_seconds": 45.2,
      "status": "ready",
      "error_message": null,
      "tags": ["professional", "clear", "business"],
      "created_at": "2024-01-15T10:30:00Z"
    },
    {
      "id": 124,
      "name": "Casual Voice Sample",
      "original_filename": "casual_voice.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration_seconds": 32.1,
      "status": "uploaded",
      "error_message": null,
      "tags": ["casual", "friendly"],
      "created_at": "2024-01-15T11:15:00Z"
    }
  ]
}
```

### 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

```bash cURL theme={null}
curl -X GET "https://api.burki.dev/api/v1/assistants/123/voice-samples?status=ready" \
  -H "Authorization: Bearer YOUR_API_KEY"
```


## OpenAPI

````yaml GET /api/v1/assistants/{assistant_id}/voice-samples
openapi: 3.1.0
info:
  title: Burki
  description: A system that uses AI to answer customer Calls.
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/assistants/{assistant_id}/voice-samples:
    get:
      tags:
        - assistants
      summary: List Voice Samples
      description: List voice samples for organization.
      operationId: list_voice_samples_api_v1_assistants__assistant_id__voice_samples_get
      parameters:
        - name: assistant_id
          in: path
          required: true
          schema:
            type: integer
            title: Assistant Id
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by status
            title: Status
          description: Filter by status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````