A segment is {"start_ms":…,"end_ms":…,"speaker":"0"}. speaker is a string id; treat null (audio not attributed to any speaker) as possible.
- Audio time.
start_ms and end_ms are milliseconds of audio since the first sample you sent, counted from the samples received, not from the wall clock. Pauses in sending and reconnects add no time. If you drop audio while reconnecting, your own timeline moves ahead of ours by that amount, so send the buffered audio instead (see Reconnecting).
- Resolution. All times are multiples of 100 ms. The first 200 ms and the last 200–300 ms of a session are never labelled.
- No overlaps. Segments are in time order and never overlap. One speaker is reported per moment; overlapping speech is attributed to one of the speakers.
- Pauses. A speaker’s pauses of up to 500 ms stay inside one segment; a longer pause or a different speaker starts a new one.
- Speaker ids are strings
"0", "1", "2", … in order of first appearance. They are stable for the whole session and are not shared between sessions.
- Live delay. A speaker decision trails the newest audio by about 10 seconds. Closed segments and the open turn only contain decided audio, so nothing you receive is revised later.
Mapping words to speakers
If you transcribe the same audio yourself, give each word the speaker whose segment overlaps the word’s time range the most. A word that falls entirely between segments takes the speaker of the nearest segment. Live, you can attribute words up to final_until_ms using segments plus open. Use the same audio timeline for your transcript: time 0 is the first sample you sent. Last modified on November 23, 2026