API reference
Transcripts
Create, list, retrieve, update, delete and export transcripts.
Code examples use API and HEADERS (headers in JavaScript), set up as in the Quickstart.
The transcript object
Fields
idstringUnique ID of the transcript.
objectstringAlways "transcript".
titlestringIts name, from the file name or the title you set.
filenamestringName of the original file.
statusstringqueued, processing, completed or failed.
progressnumberHow far along it is, from 0 to 1.
stagestringWhat it's doing right now, for example "Transcribing".
errorstring | nullWhy it failed, when status is failed.
duration_secondsnumberLength of the audio.
languagestringThe language you asked for, or "auto".
detected_languagestring | nullThe language that was transcribed, once done.
modestringexpress or studio.
speaker_labelsbooleanWhether speakers are labelled.
speakers_expectedinteger | nullThe number of speakers you gave, if any.
translate_to_englishbooleanWhether the speech is transcribed into English.
restore_audiobooleanWhether the audio is cleaned up first.
folder_idinteger | nullThe folder it's in.
sourcestring"api" for transcripts made through the API, "web" for the website.
webhook_urlstring | nullWhere we send a webhook when it finishes.
created_atstringWhen it was created (ISO 8601, UTC).
completed_atstring | nullWhen it finished.
urlstringLink to open it in the ScribeFiles editor.
textstringCompleted transcripts, when retrieved one at a time: the full text.
segmentsarrayCompleted transcripts, when retrieved: start, end, text and speaker of each segment.
speakersarrayCompleted transcripts, when retrieved: everyone who speaks.
{
"id": "9f2c6d0e4b5a4e1f8a7b3c2d1e0f9a8b",
"object": "transcript",
"title": "Weekly sync",
"filename": "weekly-sync.mp3",
"status": "completed",
"progress": 1.0,
"stage": "Done",
"error": null,
"duration_seconds": 2538.4,
"language": "auto",
"detected_language": "en",
"mode": "express",
"speaker_labels": true,
"speakers_expected": null,
"translate_to_english": false,
"restore_audio": false,
"folder_id": 12,
"source": "api",
"webhook_url": null,
"created_at": "2026-11-07T10:38:02Z",
"completed_at": "2026-11-07T10:42:13Z",
"url": "https://scribefiles.com/t/9f2c6d0e4b5a4e1f8a7b3c2d1e0f9a8b",
"text": "Okay, let's start with the launch.\nDesign is done, QA needs two more days.",
"segments": [
{ "start": 0.0, "end": 4.2, "text": "Okay, let's start with the launch.", "speaker": "Speaker 1" },
{ "start": 4.2, "end": 9.8, "text": "Design is done, QA needs two more days.", "speaker": "Speaker 2" }
],
"speakers": ["Speaker 1", "Speaker 2"]
}
Create a transcript
/v1/transcriptsSend a file as multipart/form-data (in a field named file), or JSON with a url to fetch it from. Returns 201 with the new transcript, status queued.
Body
filefilerequiredThe audio or video file (multipart uploads). Up to 10 hours and 5 GB.
urlstringrequiredA public http(s) link to the file, instead of uploading it (JSON requests).
languagestringA language code, or "auto" to detect it (default).
modestring"express" (default): fast. "studio": most accurate.
speaker_labelsbooleanLabel who says what. Default false.
speakers_expectedintegerHow many people speak, 1 to 20, if you know. Leave out to detect.
translate_to_englishbooleanTranscribe straight into English. Default false.
restore_audiobooleanClean up noise and level the volume first. Default false.
folder_idintegerPut the transcript in this folder.
titlestringA name for the transcript. Defaults to the file name.
webhook_urlstringA public https:// URL to notify when it finishes. See Webhooks.
curl https://scribefiles.com/v1/transcripts \
-H "Authorization: Bearer $SCRIBEFILES_API_KEY" \
-F file=@weekly-sync.mp3 \
-F speaker_labels=true \
-F folder_id=12
with open("weekly-sync.mp3", "rb") as f:
transcript = requests.post(f"{API}/transcripts", headers=HEADERS, files={"file": f},
data={"speaker_labels": "true", "folder_id": "12"}).json()
const form = new FormData();
form.append("file", new Blob([await readFile("weekly-sync.mp3")]), "weekly-sync.mp3");
form.append("speaker_labels", "true");
form.append("folder_id", "12");
const transcript = await (await fetch(`${API}/transcripts`, { method: "POST", headers, body: form })).json();
List transcripts
/v1/transcriptsYour transcripts, newest first. The list doesn't include text or segments; retrieve a transcript for those. When has_more is true, pass the last id as starting_after to get the next page.
Query parameters
limitintegerHow many to return, 1 to 100. Default 20.
starting_afterstringA transcript ID: return the ones created before it.
statusstringOnly transcripts with this status: queued, processing, completed or failed.
folder_idintegerOnly transcripts in this folder.
curl "https://scribefiles.com/v1/transcripts?limit=50&status=completed" \
-H "Authorization: Bearer $SCRIBEFILES_API_KEY"
def all_transcripts(**filters):
params = {"limit": 100, **filters}
while True:
page = requests.get(f"{API}/transcripts", headers=HEADERS, params=params).json()
yield from page["data"]
if not page["has_more"]:
return
params["starting_after"] = page["data"][-1]["id"]
for t in all_transcripts(status="completed"):
print(t["title"])
async function* allTranscripts(filters = {}) {
const params = new URLSearchParams({ limit: "100", ...filters });
for (;;) {
const page = await (await fetch(`${API}/transcripts?${params}`, { headers })).json();
yield* page.data;
if (!page.has_more) return;
params.set("starting_after", page.data.at(-1).id);
}
}
for await (const t of allTranscripts({ status: "completed" })) console.log(t.title);
{
"object": "list",
"data": [ { "id": "9f2c…", "object": "transcript", "status": "completed", "...": "…" } ],
"has_more": false
}
Retrieve a transcript
/v1/transcripts/{id}One transcript. Once it's completed it includes text, segments and speakers; before that, check status, progress and stage.
curl https://scribefiles.com/v1/transcripts/9f2c6d0e4b5a4e1f8a7b3c2d1e0f9a8b \
-H "Authorization: Bearer $SCRIBEFILES_API_KEY"
transcript = requests.get(f"{API}/transcripts/{transcript_id}", headers=HEADERS).json()
const transcript = await (await fetch(`${API}/transcripts/${transcriptId}`, { headers })).json();
Update a transcript
/v1/transcripts/{id}Rename it, move it to a folder, or name its speakers. Send only what you want to change. Returns the updated transcript.
Body (JSON)
titlestringA new name.
folder_idinteger | nullMove it to this folder, or null to take it out of its folder.
speaker_namesobjectNames for the speakers, keyed by their label: {"Speaker 1": "Maya"}. An empty name resets it.
curl -X PATCH https://scribefiles.com/v1/transcripts/9f2c6d0e4b5a4e1f8a7b3c2d1e0f9a8b \
-H "Authorization: Bearer $SCRIBEFILES_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title": "Launch sync", "speaker_names": {"Speaker 1": "Maya"}}'
requests.patch(f"{API}/transcripts/{transcript_id}", headers=HEADERS,
json={"title": "Launch sync", "speaker_names": {"Speaker 1": "Maya"}})
await fetch(`${API}/transcripts/${transcriptId}`, {
method: "PATCH",
headers: { ...headers, "Content-Type": "application/json" },
body: JSON.stringify({ title: "Launch sync", speaker_names: { "Speaker 1": "Maya" } }),
});
Delete a transcript
/v1/transcripts/{id}Deletes the transcript and its uploaded file for good. This can't be undone.
curl -X DELETE https://scribefiles.com/v1/transcripts/9f2c6d0e4b5a4e1f8a7b3c2d1e0f9a8b \
-H "Authorization: Bearer $SCRIBEFILES_API_KEY"
requests.delete(f"{API}/transcripts/{transcript_id}", headers=HEADERS)
await fetch(`${API}/transcripts/${transcriptId}`, { method: "DELETE", headers });
{ "id": "9f2c6d0e4b5a4e1f8a7b3c2d1e0f9a8b", "object": "transcript", "deleted": true }
Export a transcript
/v1/transcripts/{id}/exportDownload a completed transcript as a file. Returns the file itself; a transcript that isn't ready yet gives 409 not_ready.
Query parameters
formatstringtxt (default), docx, pdf, srt, vtt, csv or json.
timestampsbooleanInclude timestamps. Default true.
speakersbooleanInclude speaker names. Default true.
curl "https://scribefiles.com/v1/transcripts/9f2c6d0e4b5a4e1f8a7b3c2d1e0f9a8b/export?format=docx" \
-H "Authorization: Bearer $SCRIBEFILES_API_KEY" \
-o "Weekly sync.docx"
res = requests.get(f"{API}/transcripts/{transcript_id}/export", headers=HEADERS, params={"format": "docx"})
open("Weekly sync.docx", "wb").write(res.content)
const file = await fetch(`${API}/transcripts/${transcriptId}/export?format=docx`, { headers });
await writeFile("Weekly sync.docx", Buffer.from(await file.arrayBuffer()));
Questions about the API? Contact us.