Read a page's code
The current version of a page you can open, or an earlier one by number.
GET/v1/pages/{pageId}/code
Null when nothing has been saved yet.
Requires the pages:read scope. Operation my.pages.code.get. MCP tool my_pages_code_get. CLI: grid82 my pages code get (npx grid82).
Path parameters
| Name | Type | Required | Description |
|---|
pageId | string | yes | |
Query parameters
| Name | Type | Required | Description |
|---|
version | integer | no | |
dataobject | nullrequired
Show child attributes
data.versionintegerrequired
data.authorstringrequired
data.notestringnullrequired
data.sourcestringrequired
errorobjectrequired
Show child attributes
error.codeenum<string>requiredone of: not_found, forbidden, unauthenticated, validation_failed, conflict, rate_limited, payment_required, not_implemented, internal
error.messagestringrequired
error.detailsRecord<string, unknown>