Batch update target segments

Enterprise only. Edit several segments’ translations for a language target in one atomic request: every edit applies or none does. 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.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
segmentsmap from strings to objectsRequired
Map of segment ID to the translation edit to apply to that segment. At least one entry and at most 500.

Response

Successful Response
segmentslist of objects
The edited target segments in their updated state.
revisioninteger
The target's revision after the edits.

Errors

422
Unprocessable Entity Error