Skip to main content
POST
Apply a flat rewrite map to the segments' `speaker_label`s and rebuild the inline

Path Parameters

job_id
string<uuid>
required

Body

application/json; charset=utf-8

Body for POST /admin/jobs/transcriptions/:job_id/relabel-speakers.

Two complementary rewrite mechanisms, applied in order:

  1. relabels — flat rewrite map applied to every segment whose speaker_label matches a key. To merge S4 into S1 AND rename S1 to "Moderator", the client should send both rules already resolved: {"S4": "Participant", "S1": "Moderator"}. This is the bulk path.

  2. segment_overrides — per-segment fixes for cases where one misclustered segment shouldn't drag its whole speaker group with it. Applied AFTER relabels, so the operator can do "merge S1+S2 into Moderator AND override segment X to be Participant" in one save.

relabels
object
required
segment_overrides
AdminTranscriptionSegmentOverride · object[]

Response