Canvases

A canvas holds a shared video pool (videoAssets with cva_… ids and per-video sourceLanguage), named cuts (versions), and artifact history. POST /v1/canvases creates the pool only — it does not create v1. Then POST /v1/canvases/:canvasId/versions with an optional label. Walkthrough: Create a canvas version. Generate calls take required canvasId and canvasVideoId (from videoAssets[]) plus canvasVersionId (recommended; omit = latest cut). Start work from Services (POST /v1/transcribe, /v1/clips, …). Poll Jobs for status.

To edit transcript content, take textSourceId from GET /v1/canvases/:canvasId (versions[].artifacts.transcripts[]) and call PATCH /v1/transcriptions/:textSourceId/segments — see Transcripts. You do not pass canvas ids on content-edit routes.

The Canvas object

canvasIdstring
Stable canvas identifier (cvs_…).
workspaceIdstring
Owning workspace.
projectIdstring
Owning project.
namestring
Unique display name within the project.
descriptionstring
Optional note. Empty string when unset.
videoAssetsarray
Shared source pool (one item or many). Each item has canvasVideoId (cva_…), connectionId, bucket, sourceKey, required sourceLanguage, kind ("video" default, or "transcript" for a transcript-only asset with an empty sourceKey), transcriptKey (the source .srt/.vtt key for transcript-only assets; null for video), and optional label. Present on create, list, retrieve, and update responses.
createdBystring
User or service account that created it.
updatedBystring
User or service account that last updated it.
createdAttimestamp, optional
Creation time.
updatedAttimestamp, optional
Last update time.
versionCountinteger, optional
Number of cuts on this canvas.
jobCountinteger, optional
Jobs run across all cuts.
previewThumbnailUrlstring | null, optional
Signed preview URL when a non-AI thumbnail exists.

Create a canvas

POST/v1/canvases
Creates a canvas and optional source pool. A videoSources[] item is either a video (connectionId, bucket, sourceKey, sourceLanguage) or a transcript-only asset (kind: "transcript", connectionId, bucket, sourceLanguage, no sourceKey). Does not create a version — call POST /v1/canvases/:canvasId/versions next. Name-only canvases (empty pool) are allowed. Legacy videoSource, top-level sourceLanguage, srtSource, and textSourceId return 422 notAllowed.

When to use

Day-one bootstrap for API key integrations.

Requires permission

canvas:create

The create response has an empty versions array. Read each canvasVideoId from videoAssets[] and pass the one you want on generate or import. Read canvasVersionId from the version-create response, not from this call. You can also grow the pool later with PATCH addVideoAssets.

Parameters

namestring
Unique name within the project.
descriptionstring, optional
Optional description.
videoSourcesarray, optional
Sources to seed the pool. A video item needs connectionId, bucket, sourceKey, and sourceLanguage. A transcript-only item sets kind: "transcript" and omits sourceKey (needs connectionId, bucket, sourceLanguage); it may include a transcriptKey (an .srt/.vtt object already in the bucket) to import the transcript atomically — the create call then auto-creates v1 and imports it (no ASR, no credits; format derived from the extension). Sending a sourceKey on a transcript item is 422. Optional label on either. Language is per source, not on the canvas. Mix both kinds in one canvas. Transcript-only assets only support the text services (translation, romanization, metadata, summarization, indexer); video services return 422 requiresVideo.

List canvases

GET/v1/canvases
List canvases in the project bound to the API key.

When to use

Discover canvases before retrieve or generate.

Requires permission

canvas:list

Query parameters

connectionId / bucket / sourceKeystring, optional
Optional filter: canvases whose video pool contains that S3 ref. All three required together. Matches pool assets only.

Returns

Returns items — Canvas objects with videoAssets and counts, no nested versions. Refresh GET /v1/canvases/:canvasId for the full tree.

See the the canvas object for attribute details.

Retrieve a canvas (full tree)

GET/v1/canvases/:canvasId
Primary discovery endpoint. Returns the shared videoAssets pool (each with sourceLanguage), each named cut under versions[], and under every cut an artifacts object with all transcript / narration / translation / romanization / thumbnail / clip / dubbing / metadata / summarization / index / moderation versions. Use textSourceId (or other result ids) from those rows to edit content via /v1/transcriptions/… — you do not pass canvas ids again.

When to use

After generate jobs complete — refresh the tree, then edit segments via Transcripts.

Requires permission

canvas:read

Empty artifacts.* arrays mean no versions of that type yet. After jobs finish, re-fetch this endpoint to pick up new rows and ids. Transcript and narration rows include canvasVideoId for the pool video they belong to. A version is only a named iteration — it does not pin a video.

Update a canvas

PATCH/v1/canvases/:canvasId
Updates canvas-level fields (name, description) and grows or trims the shared video pool. Language lives on each pool asset. Which video a job uses is canvasVideoId on the generate or import call — not on this route. videoSource, videoSources, and sourceLanguage return 422 notAllowed.

When to use

Rename a canvas or add/remove pool videos without creating a cut.

Requires permission

canvas:update

Parameters

namestring, optional
New unique name within the project.
descriptionstring, optional
New description (empty string clears).
addVideoAssetsarray, optional
Media refs to add (same shape as create videoSources[], including sourceLanguage). Duplicate S3 ref already in the pool returns 409.
removeVideoAssetIdsarray, optional
cva_… ids to remove. Returns 409 while a transcript or narration row still references the video.

Returns

Returns the updated Canvas object (no nested versions). Refresh GET /v1/canvases/:canvasId for the full tree.

See the the canvas object for attribute details.

Delete a canvas

DELETE/v1/canvases/:canvasId
Deletes the canvas and its versions. Downstream jobs and text sources are not bulk-deleted by this call.

When to use

Remove a canvas you no longer need from the project.

Requires permission

canvas:delete

Create a canvas version

POST/v1/canvases/:canvasId/versions
Add a named cut (v1, v2, …). Body is label only — an empty pool is fine. A version does not pin a video. Pass canvasVideoId on generate or import. videoSource, videoSources, sourceLanguage, activeCanvasVideoId, canvasVideoId, textSourceId, and srtSource return 422 notAllowed.

When to use

First cut after canvas create, or a later named iteration on the same canvas.

Requires permission

canvas:create

Save canvasVersionId from this response. Canvas create does not return a version. Walkthrough: Create a canvas version.

Parameters

labelstring, optional
Optional version label (defaults to vN).

Update a canvas version

PATCH/v1/canvases/:canvasId/versions/:canvasVersionId
Rename a cut. Body is label only. Video, language, and transcript fields are not accepted.

When to use

Relabel a cut without changing the pool or artifacts.

Requires permission

canvas:update

Parameters

labelstring
New unique label on this canvas.

List canvas versions

GET/v1/canvases/:canvasId/versions
Lists cuts for the canvas (no nested artifacts). Prefer GET /v1/canvases/:canvasId when you need the full tree.

When to use

Lightweight version enumeration without artifact payloads.

Requires permission

canvas:list

Retrieve a canvas version

GET/v1/canvases/:canvasId/versions/:canvasVersionId
Returns one named cut (label, versionNumber). Does not include artifacts or a pinned video — use canvas retrieve for the tree, and pass canvasVideoId on generate.

When to use

Confirm a specific cut before generate.

Requires permission

canvas:read

Get active artifact versions

GET/v1/canvases/:canvasId/versions/:canvasVersionId/active-versions
Returns the active artifact version summary (or null) for transcript, narration, translation, romanization, thumbnails, clips, dubbing, metadata, summarization, index, and moderation. Transcript and narration are scoped to the required pool video.

When to use

Quick pointers to the active ids without loading full artifact lists.

Requires permission

canvas:read

Query parameters

canvasVideoIdstring
Required pool video (cva_… from videoAssets). Omit returns 422; unknown id returns 404.

List transcript versions

GET/v1/canvases/:canvasId/versions/:canvasVersionId/transcript-versions
Lists transcript versions for the cut. Omit canvasVideoId to return rows for every pool video on this cut; pass an id to filter to one video.

When to use

Enumerate transcript rails before set-active or generate overwrite.

Requires permission

transcript:list

Query parameters

canvasVideoIdstring, optional
Optional pool video (cva_…). Omit = all videos on this cut.

List narration versions

GET/v1/canvases/:canvasId/versions/:canvasVersionId/narration-versions
Lists narration versions for the cut. Omit canvasVideoId to return rows for every pool video; pass an id to filter.

When to use

Enumerate narration rails for one or all pool videos on the cut.

Requires permission

transcript:list

Query parameters

canvasVideoIdstring, optional
Optional pool video (cva_…). Omit = all videos on this cut.

Retrieve a narration version

GET/v1/narration-versions/:id
Fetch a single AI-narration version by id. The :id is the canvasNarrationVersionId (cnv_…) taken from versions[].artifacts.narrations[] on GET /v1/canvases/:canvasId.

When to use

Inspect a narration version’s current name, active state, and source ids.

Requires permission

transcript:list

Update a narration version

PATCH/v1/narration-versions/:id
Rename a narration version and/or set it active. Send name to rename, isActive: true to make it the active narration for its cut (both may be sent together).

When to use

Promote a narration take to active, or relabel it.

Requires permission

transcript:edit

Parameters

namestring, optional
New display name.
isActiveboolean, optional
Set true to make this the active narration for its canvas version.

Delete a narration version

DELETE/v1/narration-versions/:id
Deletes a narration version. If the deleted version was active, the most recent remaining narration on that cut is promoted to active automatically.

When to use

Remove a narration take you no longer need.

Requires permission

transcript:edit