For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get the raw document body of a page in a historical revision

Returns the structured JSON document (block tree) for a specific page within a historical revision of a space. Use this when you need the low-level block representation of historical page content. For the current live content, use the space content page document endpoint.

Available in MCP
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
revisionIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
pageIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
Query parameters
evaluatedone ofOptional

Controls whether the document should be evaluated.

  • When set to true, the entire document will be evaluated.
  • When set to deterministic-only, only expressions that depend exclusively on deterministic inputs will be evaluated.
Default: false
booleanOptional
or
string · enumOptionalPossible values:
dereferencedone ofOptional

Controls whether the document should be deferenced (eference to other content will be resolved and expanded).

  • When set to true, the entire document will be deferenced
  • When set to reusable-contents, only reusable contents will be deferenced.
Default: false
booleanOptional
or
string · enumOptionalPossible values:
Responses
200

OK

application/json
objectstring · enumRequiredPossible values:
get/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/document
200

OK

Last updated

Was this helpful?

Powered by GitBook