# The transcript object

Every field of a transcript: its text, words, times, confidence, speakers and segments.

A transcript is the result of a file ([Batch transcription](https://platform.vatis.tech/docs/batch)): what `GET /v1/transcripts/{id}` answers, and the `data` of a webhook delivery. A live session sends its text as messages instead ([Real-time transcription](https://platform.vatis.tech/docs/realtime)).

## Example

A short file with two speakers, sent with `diarize=true`:

```json
{
  "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"},
    {"text": "ziua,", "start": 0.44, "end": 0.86, "confidence": 0.97, "speaker": "speaker_0"},
    {"text": "luați", "start": 1.02, "end": 1.38, "confidence": 0.93, "speaker": "speaker_0"},
    {"text": "loc.", "start": 1.42, "end": 1.7, "confidence": 0.95, "speaker": "speaker_0"},
    {"text": "Am", "start": 2.48, "end": 2.62, "confidence": 0.91, "speaker": "speaker_1"},
    {"text": "venit", "start": 2.66, "end": 2.98, "confidence": 0.9, "speaker": "speaker_1"},
    {"text": "pentru", "start": 3.04, "end": 3.34, "confidence": 0.97, "speaker": "speaker_1"},
    {"text": "contractul", "start": 3.38, "end": 4.02, "confidence": 0.58, "speaker": "speaker_1"},
    {"text": "din", "start": 4.06, "end": 4.2, "confidence": 0.96, "speaker": "speaker_1"},
    {"text": "12", "start": 4.24, "end": 4.6, "confidence": 0.88, "speaker": "speaker_1"},
    {"text": "martie.", "start": 4.64, "end": 5.1, "confidence": 0.21, "speaker": "speaker_1"}
  ],
  "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"]
}
```

curl prints a transcript on one line. To read it, add `| python3 -m json.tool` at the end of the command; to keep it, add `-o transcript.json`:

```bash
curl -sS -H "Authorization: Bearer $VATIS_KEY" https://api.eu.vatis.tech/v1/transcripts/tr_3b41a7db9aba52c0 | python3 -m json.tool
```

## Fields

| Field | When | What it is |
|---|---|---|
| `id` | always | `tr_` and 16 hex digits: for `GET` and `DELETE /v1/transcripts/{id}`. |
| `status` | always | `queued`, `processing`, `completed` or `failed` ([Status](https://platform.vatis.tech/docs/transcript-object#status)). |
| `model_id` | always | As applied. |
| `language_code` | always | The language transcribed in. With `vatis_multi_v1` and several languages named, or none, it is `null` until the job is done, then the one with the most speech. |
| `created_at` | always | When the job was accepted: ISO 8601, UTC. |
| `metadata` | always | What you sent, unchanged, or `null`. |
| `vocabulary` | with a vocabulary | `{"id": "voc_...", "strength": 1, "entries": 427}`: the saved vocabulary's id (or `null`), the strength, and how many entries were in effect, never the entries ([Vocabularies](https://platform.vatis.tech/docs/realtime/vocabularies#files)). |
| `completed_at` | completed | When it was done: ISO 8601, UTC. |
| `duration_s`, `processing_s` | completed | The audio's length (3 decimals) and the time the transcription took (2 decimals), in seconds. |
| `text` | completed | The whole transcript, with punctuation, capitals and numbers as digits, as the options asked. |
| `words` | completed | Every word, in time order ([Words](https://platform.vatis.tech/docs/transcript-object#words)). |
| `segments` | completed | The utterances: one speaker's words, in order ([Segments](https://platform.vatis.tech/docs/transcript-object#segments)). Show these to people. |
| `speakers` | completed | The speaker labels in the order they first speak; `[]` without speakers. |
| `channels` | completed, with `multichannel` | Each channel's text and length ([Two channels](https://platform.vatis.tech/docs/transcript-object#two-channels)). |
| `exports` | completed, when asked | `{"txt": "...", "srt": "...", "vtt": "..."}`: the files the request asked for ([Exports](https://platform.vatis.tech/docs/batch/exports#files-with-the-transcript-itself)). |
| `error` | failed | `{"code": "...", "message": "..."}`, a code of [Errors](https://platform.vatis.tech/docs/errors). |

Ignore fields you do not know: new ones may be added.

## Status

| Status | Means | Fields |
|---|---|---|
| `queued` | Waiting its turn. | `id`, `status`, `model_id`, `language_code`, `created_at`, `metadata` |
| `processing` | Being transcribed. | The same. |
| `completed` | Done. | Every field that applies. |
| `failed` | It could not be transcribed. | The first six, and `error`. No `text`, `words` or `segments`. |

## Words

Each word of `words` is `{"text", "start", "end", "confidence", "speaker"}`, and `channel` with `multichannel`.

- `text`: the word as written, with its punctuation attached (`ziua,`). With `punctuation=false` the words are lowercase and carry none; with `numbers=words` a number is its words (`două sute` is two words).
- `start`, `end`: seconds from the start of the recording, 3 decimals. `null` with `timestamps=none`.
- `confidence`: 0 to 1 ([Confidence](https://platform.vatis.tech/docs/transcript-object#confidence)).
- `speaker`: `speaker_0`, `speaker_1`, ... with `diarize`, `channel_0` or `channel_1` with `multichannel`, else `null`.
- Joined forms such as `într-o` or `dintr-un` are one word. Filler words stay unless `remove_fillers=true`.

## Confidence

`confidence` says how sure the model is of a word: a calibrated value from 0 to 1, rounded to 3 decimals. The Vatis editor marks words with two thresholds:

| Confidence | The word is shown as |
|---|---|
| 0.65 or more | normal |
| from 0.25 to below 0.65 | uncertain |
| below 0.25 | very uncertain |

In the example, `contractul` (0.58) is uncertain and `martie.` (0.21) very uncertain: the words a reviewer should listen to again.

## Speakers

Send `diarize=true` to label every word with who said it. Every word and segment then has a `speaker`, and the transcript a `speakers` list.

- Labels are `speaker_0`, `speaker_1`, ... in the order the voices first speak. The API tells voices apart; it does not know names. A label holds within one file: the same person gets a new label in another request.
- A word takes the speaker talking while it is said. When two people talk at once, each word still has one speaker.
- `num_speakers` (1 to 32) says how many speakers to expect. Leave it out when you do not know. Above 8 speakers (sent, or found), a slower speaker model with no limit runs.
- In the files of [Exports](https://platform.vatis.tech/docs/batch/exports), `speaker_0` is named `Speaker 1`, `speaker_1` `Speaker 2`, and so on.

For a call with one person on each channel, send `multichannel=true` instead ([Two channels](https://platform.vatis.tech/docs/transcript-object#two-channels)). The same in a live session: [Real-time transcription](https://platform.vatis.tech/docs/realtime).

## Segments

A segment is one speaker's utterance: `{"speaker", "start", "end", "text"}`, and `channel` with `multichannel`. It runs from when they start until they stop or someone else takes over.

- A segment ends after a pause of its speaker longer than 1.5 s at the end of a sentence.
- It ends when another speaker takes over: says more than 3 words, or speaks for more than 1 s, while the first one is silent.
- A short answer after the first speaker ended a sentence is a reply, and ends the segment too: `Sunteți acasă?`, `Da.`, `Bine, vin acum.` are three segments, in that order. Unless the answer is said over the first speaker's next word.
- Any other short run, such as `Da.`, `OK` or `mhm` in the middle of someone's sentence, is a short segment of its own, and the speaker's segment goes on across it.
- Segments are in the order they start. When people talk at once, segments of different speakers overlap in time.
- Every word is in exactly one segment, with its own speaker. `words` has them all, in time order.
- Without speakers, segments split on pauses only, and `speaker` is `null`. With `punctuation=false` there are no sentence ends, so every pause longer than 1.5 s ends a segment.

## Two channels

With `multichannel=true`, a file of 2 channels (a call recorded with the agent on one channel and the customer on the other, for example) has each channel transcribed alone, and the channel is the speaker:

```json
{
  "id": "tr_9336e75bafbd4881",
  "status": "completed",
  "words": [
    {"text": "Bună", "start": 0.12, "end": 0.4, "confidence": 0.98, "speaker": "channel_0", "channel": 0},
    ...
  ],
  "segments": [
    {"speaker": "channel_0", "start": 0.12, "end": 1.9, "text": "Bună ziua, cu ce vă pot ajuta?", "channel": 0},
    {"speaker": "channel_1", "start": 2.4, "end": 3.9, "text": "Aș vrea să plătesc factura.", "channel": 1}
  ],
  "speakers": ["channel_0", "channel_1"],
  "channels": [
    {"channel": 0, "text": "Bună ziua, cu ce vă pot ajuta?", "duration_s": 4.6},
    {"channel": 1, "text": "Aș vrea să plătesc factura.", "duration_s": 4.6}
  ],
  ...
}
```

- Every word and segment also has `channel` (`0` or `1`), and its `speaker` is `channel_0` or `channel_1`.
- The words of both channels are merged in time order. The segments are each channel's utterances, in the order they start: where both people talk at once, they overlap.
- `channels` has each channel's whole text and length. Usage counts the recording once, by its length.
- Not with `diarize`: two people on one channel are not told apart. A mono file with `multichannel=true` gets an ordinary transcript; more than 2 channels is `400` `invalid_audio`.

## Next steps

- [Exports](https://platform.vatis.tech/docs/batch/exports): a transcript as text or subtitles, with speaker names.
- [Manage transcripts](https://platform.vatis.tech/docs/batch/manage-transcripts): read, list and delete them.
- [Webhooks](https://platform.vatis.tech/docs/batch/webhooks): have each transcript posted to your server.
