Get Subtitle Result for Language
Retrieves the transcript in a specific language of a completed subtitle run using the provided run_id, with optional export to srt/vtt/txt.
- By default (no query params) you get the structured JSON transcript for that language:
{ "transcript": [ {start, end, text, speaker}, ... ] }. - When you pass
format_typeand/ordata_type, the transcript is exported and returned as{ "transcript": <presigned url | raw text> }, the same parameter values and response shape as Get Transcription Result.
{language} path parameter must be the run’s source language or one of the target languages from Create Subtitle. Pass a locale tag (es-es, fr-fr); numeric IDs still work but are deprecated.formatting_options on Create Subtitle, the segments already follow subtitle timing and length rules.
Choosing your output
format_type (srt/vtt/txt) and data_type (raw_data/file) use the exact same values as Get Transcription Result. Need every language at once? Use Get Subtitle Result — it supports the same export params for all languages in one call.
Implementation Example
Understanding the Response Structure
The response is always a JSON object with a singletranscript field. Its value depends on the parameters.
Default: structured transcript (no params)
Export: file (data_type=file)
transcript is a presigned URL to the rendered file. The file content matches your format_type:
TXT (format_type=txt)
SRT (format_type=srt)
VTT (format_type=vtt)
Export: raw data (data_type=raw_data)
The same rendered content is returned inline as a string:
Building a Complete Workflow
- Create Subtitle: submit your media for subtitle generation
- Get Subtitle Task Status: determine when your subtitles are ready
- Get Subtitle Result: every language at once (same export params)
Authorizations
The x-api-key is a custom header required for authenticating requests to our API. Include this header in your request with the appropriate API key value to securely access our endpoints. You can find your API key(s) in the 'API' section of our studio website.
Path Parameters
The unique identifier for the run, which was generated during the subtitle creation process and returned upon task completion. The unique identifier for the run, which was generated during the creation process and returned upon task completion.
The language to fetch, either the run's source language or one of its target languages. Pass a locale tag (en-us, fr-fr, es-es). Numeric language IDs still work but are deprecated. See all source languages.
""
Query Parameters
Subtitle format for the transcript export: srt, vtt or txt. When omitted (and data_type is also omitted) the structured JSON transcript is returned instead of an exported file.
srt, vtt, txt How the exported transcript is returned once format_type/data_type is set: file returns a presigned URL, raw_data returns the raw text. Same values and response shape as the dubbing /transcript endpoint. In export mode the effective defaults are format_type=txt, data_type=file.
raw_data, file Response
Successful Response
Structured dialogue array by default; a string (presigned URL for data_type=file, or raw text for data_type=raw_data) in export mode.