Read a version's form through a share link, with the caller's own draft.
const url = 'https://example.com/api/shares/example/form';const options = {method: 'GET'};
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/shares/example/formRead a version’s form through a share link, with the caller’s own draft.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The share token
Query Parameters
Section titled “Query Parameters”A version number (default: the current one).
Responses
Section titled “Responses”The shown version’s form and the caller’s own draft (a viewer may neither save nor send)
GET …/form: what the page restores.
object
The draft differs from the last response sent.
The person’s own draft (null for nothing stored, and always for a viewer).
object
object
The version the answers were carried from (a new version’s first open).
What carrying a draft to a new version did.
object
The names carried unchanged.
A field the new version no longer has, with the value it held.
object
A field whose old value does not fit the new version.
object
Why a carried value was reset.
The base of the next save (0: nothing stored yet).
A version’s form as the host binds it.
object
May keep a draft (a share viewer may not).
May send a response (a share viewer may not).
In document order, then the manifest-only fields.
One field of a form.
object
The kind of one form field (what its value is).
Text kinds only: the longest value (at most 4000).
One option of a choice or multi field.
object
1..=200 characters; what a person reads.
1..=200 characters; what the answer holds.
The most bytes this instance accepts for the answers object (a draft or a sent
response, serialized as UTF-8 JSON): SUPACLOUD_ARTIFACT_FORM_MAX_ANSWERS_BYTES,
262144 unless the operator set another value, at most 524288. The host refuses a
change that would exceed it and names it; the server re-checks every write.
What a page’s form offers: saving a draft, sending a response, or both.
SHA-256 of the schema, lowercase hex.
The person’s newest response on this version.
object
not_applicable | awaiting_forward | pending | delivered | followup_pending_approval | followup_launched | followup_rejected.
Who answered, as the agent and the host see it.
Own immutable screenshot references; absent when screenshot writes are not offered.
object
Example
{ "draft": { "carry_report": { "reset": [ { "reason": "kind_changed" } ] } }, "form": { "fields": [ { "kind": "text" } ], "mode": "autosave" }, "last_response": { "respondent_kind": "member" }}A password share without its unlock
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"}Unknown, revoked, expired or not for this person, or the version has no form
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"}