Update source segment

Enterprise only. Edit a source segment’s text, speaker, or timing. Omitted fields are left unchanged. Bumps the project’s revision, discards the affected translations in every language target, and marks any target that had already completed stale. No audio changes until you regenerate a target.

Path parameters

project_idstringRequired
Identifier of the dubbing project.
segment_idstringRequired
Identifier of the segment to edit.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
textstring or nullOptional
New text for the segment.
speaker_idstring or nullOptional
New speaker ID for the segment.
start_sdouble or nullOptional
New start time, in seconds.
end_sdouble or nullOptional
New end time, in seconds.

Response

Successful Response
segmentobject
The segment in its updated state.
revisioninteger

The project’s source-transcript revision after this edit.

Errors

422
Unprocessable Entity Error