Prompt index
Return a compact index of the brain's top pages, formatted for injection into an LLM prompt. This is the intended way to give an agent working context without sending the whole brain.
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
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.
Query parameters
limit
Response
slug
URL-safe identifier, unique within the brain.
title
Human-readable title.
summary
Summary truncated to 160 chars
pageType
What kind of knowledge this page holds.
pinned
Pinned entries are placed first in the prompt index.
status
Lifecycle state. Deprecated and archived items are hidden from listings by default.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error