Skip to main content
POST
/
v1
/
videos
/
{video_id}
/
corrections
Submit a transcript correction (unified ingestion)
curl --request POST \
  --url https://api.arcmira.com/v1/videos/{video_id}/corrections \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "payload": {}
}'
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "doc_url": "<string>",
    "request_id": "<string>",
    "param": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
kind
enum<string>
required
Available options:
line_edit,
speaker_reassign,
speaker_identify,
add_person,
entity_tag
payload
object
required

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 }.

seq
integer

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.

revision
string

The meta.revision from the transcript GET this correction was made against. Required for line_edit, speaker_reassign, and entity_tag.

anchor
object

Required for line_edit, speaker_reassign, and entity_tag.

Response

Success