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

# Get Voice Clip Upload

> Poll an upload's status. The modal's read model for every later stage.



## OpenAPI

````yaml https://api.usetuner.ai/public/openapi.json get /api/v1/workspaces/{workspace_id}/agents/{agent_id}/voice-clip-uploads/{voice_clip_upload_id}
openapi: 3.1.0
info:
  title: My Public API
  version: 1.0.0
servers:
  - url: https://api.usetuner.ai
security: []
tags:
  - name: calls
    x-group: Calls
  - name: workspaces
    x-group: Workspaces
  - name: simulation
    x-group: Simulation
  - name: agent-settings
    x-group: Agent Settings
  - name: agents
    x-group: Agents
  - name: scenarios
    x-group: Scenarios
  - name: traces
    x-group: Traces
  - name: providers
    x-group: Providers
paths:
  /api/v1/workspaces/{workspace_id}/agents/{agent_id}/voice-clip-uploads/{voice_clip_upload_id}:
    get:
      tags:
        - simulation
      summary: Get Voice Clip Upload
      description: Poll an upload's status. The modal's read model for every later stage.
      operationId: >-
        get_voice_clip_upload_api_v1_workspaces__workspace_id__agents__agent_id__voice_clip_uploads__voice_clip_upload_id__get
      parameters:
        - name: voice_clip_upload_id
          in: path
          required: true
          schema:
            type: integer
            title: Voice Clip Upload Id
        - name: agent_id
          in: path
          required: true
          schema:
            type: integer
            description: Tuner's internal numeric ID for the agent.
            title: Agent Id
          description: Tuner's internal numeric ID for the agent.
        - name: workspace_id
          in: path
          required: true
          schema:
            type: integer
            description: Workspace ID. Find this in Workspace > General Settings.
            title: Workspace Id
          description: Workspace ID. Find this in Workspace > General Settings.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoiceClipUploadResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              example:
                detail: Not authenticated
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: You do not have access to this workspace.
          content:
            application/json:
              example:
                detail: User does not have access to workspace 42
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Agent or upload not found.
          content:
            application/json:
              example:
                detail: Voice clip upload with ID 9 not found
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - Bearer: []
components:
  schemas:
    VoiceClipUploadResponse:
      properties:
        id:
          type: integer
          title: Id
        status:
          type: string
          title: Status
        filename:
          type: string
          title: Filename
        extension:
          type: string
          title: Extension
        size_bytes:
          type: integer
          title: Size Bytes
        duration_ms:
          anyOf:
            - type: integer
            - type: 'null'
          title: Duration Ms
        channel_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Channel Count
        channel_mode:
          anyOf:
            - type: string
            - type: 'null'
          title: Channel Mode
        speakers:
          anyOf:
            - items:
                $ref: '#/components/schemas/VoiceClipUploadSpeaker'
              type: array
            - type: 'null'
          title: Speakers
        failure_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Failure Reason
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - id
        - status
        - filename
        - extension
        - size_bytes
        - created_at
      title: VoiceClipUploadResponse
      description: >-
        Status read model for one upload -- the modal polls this at every later
        stage.
    ErrorResponse:
      properties:
        detail:
          type: string
          title: Detail
          description: Human-readable description of what went wrong.
      type: object
      required:
        - detail
      title: ErrorResponse
      description: Error body returned when a request fails.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    VoiceClipUploadSpeaker:
      properties:
        index:
          type: integer
          title: Index
        label:
          type: string
          title: Label
      type: object
      required:
        - index
        - label
      title: VoiceClipUploadSpeaker
      description: >-
        One channel as the picker shows it; the sample's S3 key is never
        exposed.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    Bearer:
      type: http
      description: >-
        Use Tuner API key (tr_api_...) or user session token. Find your API key
        in Workspace Settings > API Keys.
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.