Edit page content
Manually overwrite a page's content. This creates a new version, so the previous content stays retrievable through the version history.
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
brainId
Brain id
slug
Page slug
Headers
x-subject-id
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.
Request
This endpoint expects an object.
title
Human-readable title.
summary
Short generated summary of the content.
body
New page content. Replaces the existing body and creates a new version.
Response
id
Page id
tenantId
Owning tenant id
subjectId
Owning subject id (host-defined)
brainId
Owning brain id
source
Opaque provenance
pageType
What kind of knowledge this page holds.
bucket
Top-level grouping the page belongs to.
bucketSource
Whether the bucket was set automatically or by the user
slug
URL-safe identifier, unique per brain
title
Human-readable title.
summary
Short generated summary of the content.
body
Markdown body
entities
Named entities extracted from the body
sources
Contributing ingest sources
backlinks
Wikilink slugs referenced by the body
embedding
Vector embedding used for semantic search (internal; can be large)
version
Monotonic version, bumped on every compile/edit
pinned
Pinned pages rank first in the prompt index and are exempt from deprecation.
archived
Whether the page has been retired by the user.
status
Lifecycle state. Deprecated and archived items are hidden from listings by default.
lastCompiledAt
ISO 8601 timestamp of the last time this page was recompiled from its sources.
lastReferencedAt
ISO 8601 timestamp of the last read. Reading a page bumps this, and it feeds the brain health score.
createdAt
ISO 8601 timestamp of when this record was created.
updatedAt
ISO 8601 timestamp of when this record was last modified.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error