Brain stats
Aggregate counts for a single brain — pages, sources, connections, and unacknowledged changes. Useful for dashboard headline numbers.
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.
Response
pageCount
Active (non-deprecated, non-archived) pages
deprecatedPageCount
Deprecated/stale pages awaiting review or recovery
archivedPageCount
Archived pages
sourceCount
Ingest sources ever pushed to the brain
connectionCount
Connections between active pages
agentCount
Host concept; always 0 here (the host may merge its own count)
estimatedBytes
Approximate size of all page bodies in bytes
bucketCounts
Active page count per bucket
lastActivityAt
ISO timestamp of the last compile/read activity
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error