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

# List TTS history

> Return past text-to-speech generations for your workspace, most recent first. Each entry links to the generated audio when it is still available.



## OpenAPI

````yaml GET /v1/tts/history
openapi: 3.1.0
info:
  title: Chariot AI API
  version: '1'
  description: >-
    Chariot AI is a text-to-speech (TTS) platform built for Indian and English
    voices. Convert text into natural-sounding speech over a simple REST call,
    an HTTP audio stream, or a low-latency WebSocket. This reference documents
    the public, API-key-authenticated endpoints. Speech-to-text (ASR) is coming
    soon.
  contact:
    name: Chariot AI Support
    email: support@chariot.in
    url: https://chariot.in
servers:
  - url: https://api.chariot.in
    description: Production
  - url: https://dev-api.chariot.in
    description: Development / sandbox
security:
  - APIKeyHeader: []
tags:
  - name: Text to Speech
    description: Convert text into speech synchronously or as a stream.
  - name: Voices
    description: List the voice catalog and manage your cloned (custom) voices.
  - name: Account
    description: Inspect your credit balance and usage.
paths:
  /v1/tts/history:
    get:
      tags:
        - Text to Speech
      summary: List TTS history
      description: >-
        Return past text-to-speech generations for your workspace, most recent
        first. Each entry links to the generated audio when it is still
        available.
      operationId: listTtsHistory
      parameters:
        - name: skip
          in: query
          required: false
          description: Number of records to skip for pagination.
          schema:
            type: integer
            default: 0
            minimum: 0
        - name: limit
          in: query
          required: false
          description: Maximum number of records to return.
          schema:
            type: integer
            default: 10
            minimum: 1
            maximum: 100
      responses:
        '200':
          description: A page of TTS history records.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TTSHistoryBulk'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '422':
          $ref: '#/components/responses/ValidationError'
components:
  schemas:
    TTSHistoryBulk:
      type: object
      properties:
        total:
          type: integer
        data:
          type: array
          items:
            $ref: '#/components/schemas/TTSHistoryDetails'
    TTSHistoryDetails:
      type: object
      properties:
        inference_id:
          type: string
          format: uuid
        tts_input_text:
          type: string
        voice_id:
          type:
            - string
            - 'null'
          format: uuid
        voice_name:
          type: string
        created_at:
          type:
            - string
            - 'null'
          format: date-time
        audio_file:
          type:
            - string
            - 'null'
          format: uri
          description: URL to the generated audio, present only for successful generations.
        like_status:
          $ref: '#/components/schemas/LikeStatus'
        model_type:
          type:
            - string
            - 'null'
    Error:
      type: object
      description: Standard error envelope returned by all endpoints.
      properties:
        statusCode:
          type: integer
          description: HTTP status code, echoed in the body.
        error:
          type: string
          description: Machine-readable error class name.
        message:
          type: string
          description: Human-readable description of what went wrong.
      required:
        - statusCode
        - error
        - message
    LikeStatus:
      type: string
      enum:
        - liked
        - disliked
        - none
  responses:
    Unauthorized:
      description: >-
        Authentication failed — the API key is missing, invalid, expired, or the
        request origin is not allowed for this key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            missing:
              summary: No credentials provided
              value:
                statusCode: 401
                error: UnauthorizedException
                message: No API key or user credentials provided
            invalid:
              summary: Invalid or unknown API key
              value:
                statusCode: 401
                error: UnauthorizedException
                message: Invalid API Key or user credentials
    ValidationError:
      description: >-
        The request failed validation. This includes malformed JSON, missing or
        wrongly typed fields, out-of-range values, and business-rule violations
        such as text length limits or a voice that is not ready for synthesis.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            text_too_long:
              summary: Text over the 500-character limit
              value:
                statusCode: 422
                error: ValidationException
                message: >-
                  Input text of length 812 is more than maximum character count
                  of 500 characters!
            voice_not_ready:
              summary: Voice still processing
              value:
                statusCode: 422
                error: ValidationException
                message: >-
                  Voice 3acc7441-4dce-4245-a365-0bae822c8c30 is not ready for
                  TTS yet!
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: chariotai-api-key
      description: >-
        Your Chariot AI API key, generated from the dashboard. Send it in the
        `chariotai-api-key` header on every request.

````