Batch update source segments

Enterprise only. Edit several source segments’ text, speaker, or timing in one atomic request: every edit applies or none does. 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.

Headers

xi-api-keystringOptional

Request

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

Response

Successful Response
segmentslist of objects
The edited segments in their updated state.
revisioninteger

The project’s source-transcript revision after the edits.

Errors

422
Unprocessable Entity Error