Where a page's data comes from
const url = 'https://shareout.site/v1/artifacts/example/sources';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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://shareout.site/v1/artifacts/example/sources \ --header 'Authorization: Bearer <token>'The data sources of the page’s live version — what the viewer’s Data pill shows. Open to anyone who can view the page, through the page’s own gate (everyone else gets 404); anonymous callers are rate-limited. Editors get access: full, others a summary; scoped is true when a row policy limits what this caller sees.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Artifact ID (e.g. art_abc123).
Query Parameters
Section titled “Query Parameters”A page path of a multi-page site; default the entry page.
Another version’s id (editors only, else 403 FORBIDDEN).
Responses
Section titled “Responses”{ artifact_id, version: { id?, number, page }, access: full | summary, scoped, sources: [...] }
Access denied
object
Human-readable message.
Machine-readable error code.
Correlation id (also the X-Request-Id header). Quote it in support tickets.
Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.
What to do next, in plain words.
The request field at fault.
Doc page for this error.
Present on 5xx — how to reach a human.
object
Example
{ "success": false, "support": { "how": "POST /v1/support/tickets", "include": [ "request_id" ] }}NOT_FOUND, VERSION_NOT_FOUND (no published version) or PAGE_NOT_FOUND (no page with that path).
object
Human-readable message.
Machine-readable error code.
Correlation id (also the X-Request-Id header). Quote it in support tickets.
Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.
What to do next, in plain words.
The request field at fault.
Doc page for this error.
Present on 5xx — how to reach a human.
object
Example
{ "success": false, "support": { "how": "POST /v1/support/tickets", "include": [ "request_id" ] }}