Create a canvas version
v1. You add the first cut after create, then later cuts on the same pool. That is different from another take of a generate route — see New service versions.Why a separate step
POST /v1/canvases writes videoAssets[] (and a name). It does not open a cut. Generate, import, and active-version calls need a canvasVersionId plus a required canvasVideoId from the pool. An empty pool is allowed — you can still create a cut, then add videos with PATCH /v1/canvases/:id.
The cut does not pin a video. Same pool, many cuts. Reference fields: Canvases → Create a canvas version.
1. First cut after canvas create
Body is optional label only (the snippet sends v1 so the name is visible; omit it and the API assigns v1, v2, …). Do not send videoSource, videoSources, sourceLanguage, canvasVideoId, or activeCanvasVideoId — those return 422.
curl -X POST "{BASE_URL}/v1/canvases/{CANVAS_ID}/versions" \
-H "Authorization: Bearer {PROJECT_KEY}" \
-H "Content-Type: application/json" \
-d '{ "label": "v1" }'2. Another cut on the same pool
Same route. New canvasVersionId, new versionNumber. Artifacts on v1 stay on v1. Run generate again on the new id when you want a fresh iteration of the whole cut.
curl -X POST "{BASE_URL}/v1/canvases/{CANVAS_ID}/versions" \
-H "Authorization: Bearer {PROJECT_KEY}" \
-H "Content-Type: application/json" \
-d '{ "label": "cut-2" }'3. List cuts
GET /v1/canvases/:canvasId/versions is the lightweight list (no nested artifacts). GET /v1/canvases/:canvasId returns the full tree — use that when you need versions[].artifacts.
curl "{BASE_URL}/v1/canvases/{CANVAS_ID}/versions" \
-H "Authorization: Bearer {PROJECT_KEY}"
# Lightweight list (no artifacts). For the full tree:
# curl "{BASE_URL}/v1/canvases/{CANVAS_ID}" -H "Authorization: Bearer {PROJECT_KEY}"4. Rename a cut
PATCH /v1/canvases/:canvasId/versions/:canvasVersionId accepts label only. It does not change the pool or artifacts. Canvases → Update a canvas version.
curl -X PATCH "{BASE_URL}/v1/canvases/{CANVAS_ID}/versions/{CANVAS_VERSION_ID}" \
-H "Authorization: Bearer {PROJECT_KEY}" \
-H "Content-Type: application/json" \
-d '{ "label": "cut-2-final" }'Cut vs another service take
- New canvas version — a new named cut. Same videos. Service results start empty on that cut.
- New service version — same cut and
canvasVideoId. POST the generate route again. Omitoverwriteto add another result;overwrite: truereplaces the active one. Map: New service versions.