curl --request GET \
--url https://api.rask.ai/v3/projects/{project_id}/subtitles \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rask.ai/v3/projects/{project_id}/subtitles"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rask.ai/v3/projects/{project_id}/subtitles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rask.ai/v3/projects/{project_id}/subtitles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rask.ai/v3/projects/{project_id}/subtitles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rask.ai/v3/projects/{project_id}/subtitles")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rask.ai/v3/projects/{project_id}/subtitles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "subtitle_file",
"language": "es-es",
"language_role": "target",
"format": "srt",
"speaker_labels": false,
"cue": "segment",
"cue_count": 3,
"skipped_segment_ids": [],
"content": "1\n00:00:00,000 --> 00:00:03,200\nBienvenidos a nuestro webinar del tercer trimestre.\n\n2\n00:00:03,400 --> 00:00:06,800\nHoy repasamos las nuevas funciones de doblaje.\n\n3\n00:00:07,000 --> 00:00:09,600\nEmpecemos.\n",
"generated_at": "2026-11-03T10:15:02Z"
}Render a project's subtitles
Renders source or target subtitles from the current transcript as SRT or VTT text (≤ 2 MB), optionally with [SPEAKER_NN]: labels.
curl --request GET \
--url https://api.rask.ai/v3/projects/{project_id}/subtitles \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rask.ai/v3/projects/{project_id}/subtitles"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rask.ai/v3/projects/{project_id}/subtitles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rask.ai/v3/projects/{project_id}/subtitles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rask.ai/v3/projects/{project_id}/subtitles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rask.ai/v3/projects/{project_id}/subtitles")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rask.ai/v3/projects/{project_id}/subtitles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "subtitle_file",
"language": "es-es",
"language_role": "target",
"format": "srt",
"speaker_labels": false,
"cue": "segment",
"cue_count": 3,
"skipped_segment_ids": [],
"content": "1\n00:00:00,000 --> 00:00:03,200\nBienvenidos a nuestro webinar del tercer trimestre.\n\n2\n00:00:03,400 --> 00:00:06,800\nHoy repasamos las nuevas funciones de doblaje.\n\n3\n00:00:07,000 --> 00:00:09,600\nEmpecemos.\n",
"generated_at": "2026-11-03T10:15:02Z"
}cue=segment (default) writes one cue per segment, as the web downloads do; cue=line splits long segments into lines, as the dubbed_subtitles snapshot does. Nothing is stored; only untranslated target cues and segments with unusable times (skipped_segment_ids) are skipped.
When to use: to get subtitles that match the current transcript (the dubbed_subtitles output is a snapshot of the last dub).
Side effects: None.
Cost: Free.
Idempotency: safe and pure (never writes); retry freely.
Plan: subtitle_download.
Paid text: on a project created through v3, 409 dub_payment_required until a dub of that project is charged.
Required scopes: projects:read
Errors: feature_not_in_plan (403), project_not_ready (409), dub_payment_required (409)Authorizations
API key from Settings -> API keys, sent as Authorization: Bearer <key> (SDK environment variable RASK_API_KEY). Bound to one workspace and one acting user. Operations list the scopes they need (OpenAPI 3.1 scopes on a bearer scheme).
Scopes
Path Parameters
Project id (from createProject or listProjects).
64Query Parameters
Source or target text. Subtitle side.
source: the source languagetarget: the target language
source, target File format. Subtitle format.
srt: SubRipvtt: WebVTT
srt, vtt Prefix cues with [SPEAKER_NN]:.
How cues are cut. How cues are cut.
segment: one cue per segment, text as storedline: long segments split into timed lines, as in thedubbed_subtitlessnapshot
segment, line Response
OK: SubtitleFile.
Subtitles rendered from the current transcript. Nothing is stored.
Always subtitle_file.
subtitle_file Language code.
Subtitle side.
source: the source languagetarget: the target language
source, target Subtitle format.
srt: SubRipvtt: WebVTT
srt, vtt Cues are prefixed with [SPEAKER_NN]:.
How cues are cut.
segment: one cue per segment, text as storedline: long segments split into timed lines, as in thedubbed_subtitlessnapshot
segment, line Number of cues.
Segments dropped because their times are unusable; empty once the timing repair has run.
The rendered file (<= 2 MB).
Render time.