Skip to content
中文

Save project version

POST /cut/v1/projects/{project_id}/versions

Save the current project timeline as a named recovery point before a substantial edit. Supply an optional label or send an empty object; keep the returned version id for versions.restore. Saving a version does not publish a rendered asset; use projects.exports.create for video output.

Support: supported

Parameters

NameLocationTypeRequiredDescription
project_idpathstringtrueProject identifier returned by its create or list operation; use the id, not a display name.

Request body (application/json)

Required: true

NameTypeDescription
labelstringHuman-readable snapshot label, such as Before captions.
{
"type": "object",
"description": "Save the current project revision with an optional label.",
"properties": {
"label": {
"type": "string",
"description": "Human-readable snapshot label, such as Before captions."
}
}
}

Response

HTTP 201

New resource; save its id for subsequent calls.

application/json

Name Type Description
id string Version id returned by versions.create or list; pass as version_id to restore.
project_id string Identifier of the project this version belongs to.
revision integer Committed project revision from retrieve, state, timeline or execute; increases after each successful write.
label string Optional human-readable label supplied when saving this version.
create_time string ISO 8601 timestamp when this version was saved.
actor string Creator identity recorded as human:<user-id> or agent:<user-id>.