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

Get a page from a specific historical revision by its URL path

Returns a page from a historical revision looked up by its URL path (e.g. "getting-started/installation") rather than its ID. Useful when you know the page path but not the ID. Use documentFormat to control whether content is returned as blocks or markdown. For the current live revision, use the content path 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_-]+$
pagePathstringRequired

The path of the page in the revision.

Query parameters
formatstring · enumOptional

Output format for the content.

Possible values:
format.markdown.refsstring · enumOptional

Controls how content references are formatted in markdown output. Ignored unless format=markdown.

  • relative: Format page references as relative links from the current page. Other references might not be handled.
  • stable: Format content references as stable idempotent refs containing their identifiers.
Default: relativePossible values:
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:
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
200

OK

application/json
or
get/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}
200

OK

Last updated

Was this helpful?

Powered by GitBook