Update target segment

Enterprise only. Edit a segment’s translation for a language target. Omitted fields are left unchanged; an explicit null clears the field. Bumps the target’s revision and marks it stale if it had already completed. The source transcript and the project’s other languages are untouched, and no audio changes until you regenerate the target.

Path parameters

project_idstringRequired
Identifier of the dubbing project.
language_idstringRequired
Identifier of the language target.
segment_idstringRequired
Identifier of the segment to edit.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
translationstring or nullOptional

New translated text, or null to mark the segment for re-translation.

Response

Successful Response
segmentobject
The target segment in its updated state.
revisioninteger
The target's revision after this edit.

Errors

422
Unprocessable Entity Error