Batch transcription
Send a recording, or its address, and collect its text with words, times and speakers when it is done.
When batch opens on your workspace
Batch transcription is not open on every workspace yet. When GET /v1/models lists a model whose mode is batch, your workspace can use it. Until then, a request answers 400 unsupported_model. Live audio works already: Real-time transcription.
Transcribe a file
POST/v1/speech-to-text
Starts the transcription of an audio or video file and answers at once with its transcript, queued. The body is multipart/form-data.
Send the file as file, and the options as form fields next to it. metadata is any JSON object of your own, returned unchanged with the transcript. The request is answered at once, and the file is transcribed in the background: ask for the transcript by its id until it is done, as here, or have it posted to your server (Webhooks).
# 1. Send the file: the answer comes at once, with the transcript queued
curl -sS -H "Authorization: Bearer $VATIS_KEY" https://api.eu.vatis.tech/v1/speech-to-text \
-F model_id=vatis_ro_v9 -F diarize=true -F metadata='{"case": "2026-118"}' -F file=@speech.wav
# 2. Ask every 2 seconds while it is queued or processing (-o keeps the last answer in a file)
ID=tr_3b41a7db9aba52c0 # the "id" of the first answer
while sleep 2; do
curl -sS -H "Authorization: Bearer $VATIS_KEY" -o transcript.json https://api.eu.vatis.tech/v1/transcripts/$ID
grep -qE '"status": ?"(queued|processing)"' transcript.json || break
done
cat transcript.jsonExpected result: 202 at once, with the transcript queued (The first answer):
{"id": "tr_3b41a7db9aba52c0", "status": "queued", "created_at": "2026-11-12T09:14:03Z"}Then, a few seconds later for a few minutes of audio, the transcript, completed (trimmed here: a real one has every word). Every field: The transcript object.
{
"id": "tr_3b41a7db9aba52c0",
"status": "completed",
"model_id": "vatis_ro_v9",
"language_code": "ro",
"created_at": "2026-11-12T09:14:03Z",
"completed_at": "2026-11-12T09:14:05Z",
"duration_s": 5.62,
"processing_s": 1.41,
"metadata": {"case": "2026-118"},
"text": "Bună ziua, luați loc. Am venit pentru contractul din 12 martie.",
"words": [
{"text": "Bună", "start": 0.12, "end": 0.4, "confidence": 0.98, "speaker": "speaker_0"},
...
],
"segments": [
{"speaker": "speaker_0", "start": 0.12, "end": 1.7, "text": "Bună ziua, luați loc."},
{"speaker": "speaker_1", "start": 2.48, "end": 5.1, "text": "Am venit pentru contractul din 12 martie."}
],
"speakers": ["speaker_0", "speaker_1"]
}- Keep the
id: the transcript is kept for 7 days after its job ends, to read, export or delete (Manage transcripts). The uploaded audio is deleted 1 day after. - A request the API refuses answers at once with the error, for example
400invalid_parameter, andparamnames the field. - A transcription that fails ends
failed, with itserror, for exampleinvalid_audio. The failed transcript stays readable by its id.
In this guide
Send now, collect later
Every request is answered at once with the transcript queued: collect it when it is done, by asking for it or by having it posted to you.
Webhooks
Get a finished transcript posted to your server, signed so you know it came from us.
Parameters
The form fields a request takes and the rules they follow, its headers, and files sent by their address.
Idempotency
Send a request again safely after a timeout: the same Idempotency-Key gets the first answer, and no second job starts.
Manage transcripts
Read, list and delete your transcripts, who can read which, and how long they are kept.
Exports
Download a finished transcript as plain text or as SRT or WebVTT subtitles, with speaker names.
Request errors
The errors a transcription request can get, and what to do about each.
Next steps
- The transcript object: every field, the speakers and the segments.
- Real-time transcription: live audio, with the text back as it is spoken.
Build with AI agents
Give your coding agent the current docs: a line in its instructions, the setup guide, the docs MCP server or Markdown pages.
Send now, collect later
Every request is answered at once with the transcript queued: collect it when it is done, by asking for it or by having it posted to you.