Skip to content
中文

List canvases

GET /canvas/v1/canvases

Discover canvases in the API key’s organization and obtain ids for retrieval or editing. Results are ordered by updated_at from newest to oldest. limit is 1–100 and defaults to 50; omit cursor for the first page, then copy next_cursor into the next request until it is null. Deleted canvases are unavailable.

Support: supported

Parameters

NameLocationTypeRequiredDescription
limitqueryintegerfalseMaximum canvases to return per page, from 1 to 100; defaults to 50 when omitted.
cursorquerystringfalseOpaque next_cursor from the preceding list response; omit for the first page and stop when next_cursor is null.
collection_idquerystringfalseFilter to a collection id from collections.list, or the literal none for uncategorized canvases. Omit to list all canvases; keep the same filter when following next_cursor.
libraryquerybooleanfalseSend true to list only canvases that have been published as libraries; omit to list all canvases. Keep the same filter when following next_cursor.

Response

HTTP 200

One page of organization canvases, ordered by most recently updated first.

application/json

Name Type Description
data array<object> Canvases accessible to the API key's organization, ordered by updated_at descending.
data[].id string Assigned canvas identifier, cvs_ followed by 16 lowercase letters or digits; reuse it as canvas_id in subsequent requests.
data[].object string Resource discriminator; canvas identifies a design canvas.
data[].name string Display name supplied at creation; defaults to Untitled if omitted and is not an API identifier.
data[].version string Current revision as a decimal string, incremented by one after each successful write; pass it as expected_version to guard a subsequent execute call.
data[].page_count integer Number of visible top-level frames in this canvas; hidden frames do not contribute.
data[].node_count integer Total number of design nodes currently in the canvas.
data[].created_at string ISO 8601 timestamp recording when this canvas was created.
data[].updated_at string ISO 8601 timestamp of the latest canvas update; list orders canvases newest first by this value.
data[].viewer_url string Console URL where a person can watch this canvas update live; open it to review drawing results.
data[].collection_id string | null Collection id from collections.list, or null for an uncategorized canvas; a canvas belongs to at most one collection.
data[].library null | object The canvas's latest published library version, or null when it has never been published as a library.
data[].imports array<object> Libraries this canvas imports, by alias; present on retrieve and list, absent where only the canvas is named (create, update).
next_cursor string | null Opaque cursor to pass as cursor on the next list request; null means no more results.