Read one artifact document with every version.
const url = 'https://example.com/api/artifacts/documents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {cookie: 'supacloud_session=<supacloud_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/artifacts/documents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --cookie supacloud_session=<supacloud_session>Read one artifact document with every version.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Document id
Responses
Section titled “Responses”The document and every version
GET /api/artifacts/documents/{document_id}.
object
page | doc | deck | design | dashboard | motion, fixed at the first publish.
What a comment on an ended task leads to (S4).
object
The policy in force for member comments (auto | approval); an external
comment always needs approval.
document | project | workspace | built_in.
This tier’s own setting (auto | approval), None = inherited.
Oldest first.
One version of a document.
object
The anchor text was cut at 2,000,000 characters (comments past it orphan).
The taskless credential (management_token | project_token) that wrote it; the
UI names a credential version by this reference, never as a member.
agent | user | external | management_token | project_token | unknown — who wrote
it. An external author is not a member, and neither is a taskless token: a
token-written version names its credential kind even when it carries an
attribution user. A version that records no author the server can name is
unknown, never user.
The member who wrote it, or the user a credential version is attributed to.
The runtime capabilities the version declares (#1527 stage 6), canonical order. Always sent; optional in the contract so a client reads an older server’s version (which has no such field) as declaring none.
The slides, artboards or heading outline of a typed version; null for a page.
A deck: one HTML document whose slides are top-level <section data-sc-slide>.
object
The aspect a deck’s slides are laid out at (<meta name="supacloud-deck">).
The doc_type word of a deck structure.
1-300 slides.
One slide of a deck, in document order.
object
True when the slide carries <aside data-sc-notes> speaker notes.
The slide’s id attribute, when it has one.
1-based position in the deck.
How many data-sc-step elements step in on this slide, in document order.
data-sc-title, else the text of the slide’s first h1-h3, at most 120 characters.
A design: one canvas of named artboards (<div data-sc-artboard>).
object
1-100 artboards, in document order.
One artboard of a design canvas.
object
data-sc-height, 1-10000 CSS pixels.
The artboard’s id attribute (required, unique in the version).
data-sc-title, at most 120 characters.
data-sc-width, 1-10000 CSS pixels.
data-sc-x on the canvas; null lets the runtime lay the artboards out in rows.
data-sc-y on the canvas.
The doc_type word of a design structure.
A doc: Markdown, or HTML with a single <article>; its heading outline.
object
The doc_type word of a doc structure.
At most 200 headings, in document order.
One heading of a doc’s outline.
object
The heading element’s id (the table of contents scrolls to it).
1-6 (h1-h6).
The heading’s text, whitespace collapsed, at most 120 characters.
A motion: one <div data-sc-motion> stage played for a fixed duration.
object
The doc_type word of a motion structure.
How long the motion plays, 100-60000 ms.
Frames a second, 1-30 (30 when the stage names none).
The stage height, an even 16-1920 CSS pixels.
The stage width, an even 16-1920 CSS pixels.
A page: the commentable image regions it declares (data-sc-region, one wrapping
element per image).
object
The doc_type word of a page structure.
At most 200 regions, in document order.
A commentable image region of a page: the element’s id and its title.
object
The element’s id attribute (required, unique in the version).
data-sc-title, else the alt of the region’s first image, at most 120
characters.
Example
{ "versions": [ { "capabilities": [ "download" ], "structure": { "aspect": "16:9", "doc_type": "deck" } } ]}Authentication required
The canonical JSON body of every error response. Every AppError serializes as
this exact shape; code is the generated stable machine-readable vocabulary.
object
Present only on an MCP budget refusal (429) — the refusing layer + retry hint.
object
The refusing layer.
The layer’s budget.
Seconds until a retry can pass, or null when it never will for this session.
Calls already counted in the layer.
Machine-readable, stable error code.
Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.
object
The entitlement feature key that was hit, e.g. apps.max_count.
The plan’s limit for this key.
Where to send the user to upgrade.
Current usage (count or bytes, per the key).
Human-readable message (the server’s English text; the client may localize
by code).
Present on a launch refusal (400/403/409) — the structured facts only the refusing class can fill: occupancy, exhausted budget, or required labels.
object
Weighted workspace slots already held by starting/running agent runs.
The budget cap that refused.
Effective spend of the refusing budget scope (spend + in-flight reservations).
The workspace’s configured agent-concurrency cap.
The provider whose budget cap refused; absent for the workspace-wide cap.
Runner labels a fail-policy placement required and no runner offered.
Example
{ "code": "not_found"}No such document in this workspace
The canonical JSON body of every error response. Every AppError serializes as
this exact shape; code is the generated stable machine-readable vocabulary.
object
Present only on an MCP budget refusal (429) — the refusing layer + retry hint.
object
The refusing layer.
The layer’s budget.
Seconds until a retry can pass, or null when it never will for this session.
Calls already counted in the layer.
Machine-readable, stable error code.
Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.
object
The entitlement feature key that was hit, e.g. apps.max_count.
The plan’s limit for this key.
Where to send the user to upgrade.
Current usage (count or bytes, per the key).
Human-readable message (the server’s English text; the client may localize
by code).
Present on a launch refusal (400/403/409) — the structured facts only the refusing class can fill: occupancy, exhausted budget, or required labels.
object
Weighted workspace slots already held by starting/running agent runs.
The budget cap that refused.
Effective spend of the refusing budget scope (spend + in-flight reservations).
The workspace’s configured agent-concurrency cap.
The provider whose budget cap refused; absent for the workspace-wide cap.
Runner labels a fail-policy placement required and no runner offered.
Example
{ "code": "not_found"}