Working with transcripts
txt_…). Default GET is the copy you ship to users, captions, and downstream jobs. Load layers only if you are building an editor.The working copy
GET /v1/transcriptions/{id} returns glossary applied, manual edits included, word timings reconciled to segment text. Use this for export, clips, search, and anything a viewer should see.
- Library / previews —
GET /v1/transcriptions - Captions — same retrieve with
?format=srtor?format=vtt
Endpoint details: Transcripts.
Layers (editors only)
Layers are editorial history. Skip them in export pipelines.
raw— engine output at job completionglossary— after project glossary rulescurrent— glossary plus manual segment edits (bind the editor here)diffs— text changes between layers;wordSyncVsRawis timing adjustments
Fetch with ?include=layers on retrieve, or GET …/layers.
Saving edits
Every save sends the transcript revision you last read. The response returns the new revision — store it before the next save.
- One segment —
PATCH …/segments/{segmentId}withtext/speaker/voiceId/start/end+revision - Many segments — one
PATCH …/segmentswithupdates[]. Do not fire parallel single-segment PATCHes with the same starting revision. - New segment —
POST …/segmentswithrevision+start/end(server assigns the id).
Timing uses half-open intervals [start, end) — boundary touches are allowed, positive overlaps return 422 overlap. See endpoint details: Transcripts.
revision.Glossary and undo
Bulk terminology: POST …/glossary/preview, then POST …/glossary/apply with the current revision if the user confirms.
Undo: POST …/revert/glossary and POST …/revert/raw also send revision. A stale value returns 409 and does not overwrite newer edits. Revert to glossary drops manual edits but keeps glossary; revert to raw resets to engine output.