Page version history

List a page's version history, newest first. Every content edit and automated recompile produces a version.

Authentication

x-api-keystring

Your Living Brain API key. Create one from the dashboard; keys are scoped to an organization and carry the role of the member they were issued to.

Path parameters

brainIdstringRequired
Brain id
slugstringRequired
Page slug

Headers

x-subject-idstringRequired
Identifies the end user the request is made on behalf of. Brains are owned by a subject, so this determines which brains the caller can see.

Response

idstring
Version snapshot id
tenantIdstring
Owning tenant id
subjectIdstring

Owning subject id (host-defined)

brainIdstring
Owning brain id
pageIdstring
Page id
versioninteger

Monotonically increasing version number; every edit or recompile increments it.

titlestring
Page title as of this version.
summarystring
Page summary as of this version.
bodystring
Markdown body at this version
ingestSourceIdstring or null
Ingest source that produced this version, if any
createdAtdatetime
ISO 8601 timestamp of when this record was created.
updatedAtdatetime
ISO 8601 timestamp of when this record was last modified.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error