Skip to content
DashboardGet API Key

List video translation requests

GET/v1/video-translate/requests

Returns the authenticated account’s requests, newest first (created_at descending, then id descending), always paginated. pagination.total counts every request matching the filters. Responses use the same shape as GET /v1/video-translate/requests/{id}.

Query ParametersExpand Collapse
created_from: optional string

Inclusive lower bound on created_at (RFC 3339). Must not be after created_to.

formatdate-time
created_to: optional string

Inclusive upper bound on created_at (RFC 3339).

formatdate-time
limit: optional number

Page size. Non-integers and values below 1 are rejected with 400; values above 100 are clamped to 100.

minimum1
maximum100
offset: optional number

Number of items to skip. Non-integers and negative values are rejected with 400.

minimum0
reference_id: optional string

Filter requests by exact reference_id.

source_language: optional string

Filter by the explicit or detected source language (supported language code).

status: optional "queued" or "uploading" or "processing" or 2 more

Filter by request status.

One of the following:
"queued"
"uploading"
"processing"
"completed"
"failed"
target_language: optional string

Return requests whose target_languages contain this supported language code.

ReturnsExpand Collapse
data: array of object { id, config, created_at, 13 more }
id: string
formatuuid
config: object { source_srt, speaker_voices, target_srts, tts_model }

The request config as returned by the API. SRT content is replaced by metadata, speaker_voices keys are canonical speaker IDs, and other keys are returned unchanged.

source_srt: optional object { supplied, file_name, language }

Public description of a supplied SRT. The subtitle content is never returned.

supplied: true
file_name: optional string
language: optional string
speaker_voices: optional map[string]
target_srts: optional map[object { supplied, file_name, language } ]
supplied: true
file_name: optional string
language: optional string
tts_model: optional "eleven_v4" or "eleven_multilingual_v2"

The explicitly selected text-to-speech model. Omitted when the request used the default.

One of the following:
"eleven_v4"
"eleven_multilingual_v2"
created_at: string
formatdate-time
disable_background_audio: boolean

Whether background audio was disabled for this request.

disable_lip_sync: boolean

Whether lip sync was disabled for this request.

formality: boolean
model: "expressive" or "classic"

Product speech model selected for the request.

One of the following:
"expressive"
"classic"
status: "queued" or "uploading" or "processing" or 2 more
One of the following:
"queued"
"uploading"
"processing"
"completed"
"failed"
target_languages: array of string
error_message: optional string

Present only when failed. A safe, bounded description, for example SRT or speaker validation errors found after the video was processed.

maxLength1001
finished_at: optional string
formatdate-time
outputs: optional map[object { audio, srt, video } ]

Present only when completed, keyed by requested target language. URLs are signed on every read.

audio: string
formaturi
srt: string
formaturi
video: string
formaturi
reference_id: optional string
source_language: optional string

Explicit source language, or the detected one once processing starts.

started_at: optional string
formatdate-time
webhook_url: optional string

The configured terminal callback URL, when supplied.

formaturi

List video translation requests

curl https://api.chamelaion.com/api/v1/video-translate/requests \
    -H "Authorization: Bearer $CHAMELAION_BEARER_TOKEN"
{
  "data": [
    {
      "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "config": {
        "source_srt": {
          "supplied": true,
          "file_name": "file_name",
          "language": "language"
        },
        "speaker_voices": {
          "foo": "string"
        },
        "target_srts": {
          "foo": {
            "supplied": true,
            "file_name": "file_name",
            "language": "language"
          }
        },
        "tts_model": "eleven_v4"
      },
      "created_at": "2019-12-27T18:11:19.117Z",
      "disable_background_audio": true,
      "disable_lip_sync": true,
      "formality": true,
      "model": "expressive",
      "status": "queued",
      "target_languages": [
        "string"
      ],
      "error_message": "error_message",
      "finished_at": "2019-12-27T18:11:19.117Z",
      "outputs": {
        "foo": {
          "audio": "https://example.com",
          "srt": "https://example.com",
          "video": "https://example.com"
        }
      },
      "reference_id": "reference_id",
      "source_language": "source_language",
      "started_at": "2019-12-27T18:11:19.117Z",
      "webhook_url": "https://example.com"
    }
  ],
  "pagination": {
    "limit": 1,
    "offset": 0,
    "total": 0
  }
}
{
  "error": "limit must be an integer between 1 and 100"
}
{
  "error": "status must be one of queued, uploading, processing, completed, failed"
}
{
  "error": "created_from must not be after created_to"
}
{
  "error": "missing authorization header"
}
{
  "error": "invalid authorization format"
}
{
  "error": "missing token"
}
{
  "error": "invalid token"
}
{
  "error": "unauthorized"
}
{
  "error": "rate limit exceeded"
}
{
  "error": "internal error"
}
Returns Examples
{
  "data": [
    {
      "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "config": {
        "source_srt": {
          "supplied": true,
          "file_name": "file_name",
          "language": "language"
        },
        "speaker_voices": {
          "foo": "string"
        },
        "target_srts": {
          "foo": {
            "supplied": true,
            "file_name": "file_name",
            "language": "language"
          }
        },
        "tts_model": "eleven_v4"
      },
      "created_at": "2019-12-27T18:11:19.117Z",
      "disable_background_audio": true,
      "disable_lip_sync": true,
      "formality": true,
      "model": "expressive",
      "status": "queued",
      "target_languages": [
        "string"
      ],
      "error_message": "error_message",
      "finished_at": "2019-12-27T18:11:19.117Z",
      "outputs": {
        "foo": {
          "audio": "https://example.com",
          "srt": "https://example.com",
          "video": "https://example.com"
        }
      },
      "reference_id": "reference_id",
      "source_language": "source_language",
      "started_at": "2019-12-27T18:11:19.117Z",
      "webhook_url": "https://example.com"
    }
  ],
  "pagination": {
    "limit": 1,
    "offset": 0,
    "total": 0
  }
}
{
  "error": "limit must be an integer between 1 and 100"
}
{
  "error": "status must be one of queued, uploading, processing, completed, failed"
}
{
  "error": "created_from must not be after created_to"
}
{
  "error": "missing authorization header"
}
{
  "error": "invalid authorization format"
}
{
  "error": "missing token"
}
{
  "error": "invalid token"
}
{
  "error": "unauthorized"
}
{
  "error": "rate limit exceeded"
}
{
  "error": "internal error"
}