Submit a transcript correction
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
line_edit, speaker_reassign, speaker_identify, add_person, entity_tag, segment_rewrite Kind-specific payload. line_edit: { segmentIndex, originalText, correctedText }. speaker_reassign: { selection: { startIndex, startChar, endIndex, endChar }, target: { kind: existing|new|role, speakerId, label?, role? } }. speaker_identify: { speakerId, entityId }. add_person: { speakerId, name }. entity_tag: { segmentIndex, charStart, charEnd, entityId } or { segmentIndex, charStart, charEnd, proposedName, proposedType }. segment_rewrite: { startIndex, endIndex, replacements: [{ text, speaker?, start?, end? }] } — replaces the inclusive segment range with the replacements (max 50 source segments, 50 replacements, 2000 chars each); an empty array deletes the range. Timestamps: optional start/end pins (seconds, non-decreasing across the list) fix times explicitly; every unpinned time is interpolated char-proportionally between the surrounding pins (outer bounds default to the source time range). A replacement without speaker inherits from the source segment its repaired start time falls in; startIndex must equal anchor.segmentIndex and the anchor contentHash covers startIndex through endIndex.
Per-video monotonic sequence number (strict FIFO per user+video). Optional for one-off submissions; required for outbox-style clients that depend on ordering. Any mismatch returns 412 with the expected value.
The meta.revision from the transcript GET this correction was made against. Required for line_edit, speaker_reassign, entity_tag, and segment_rewrite.
Required for line_edit, speaker_reassign, entity_tag, and segment_rewrite.
Response
Success
Always true on acceptance.
true The correction kind, echoed back.
line_edit, speaker_reassign, speaker_identify, add_person, entity_tag, segment_rewrite The stored pending-review row (kind-specific fields). Always carries the row id: use it with the matching withdrawal DELETE.