Brain

GET /v1/brain/context

One-call recall: full retrieval pipeline + entity facts/timelines, returned as a prompt-ready context block (no answer generation).

unison-brain
GET /v1/brain/context

One-call recall: full retrieval pipeline + entity facts/timelines, returned as a prompt-ready context block (no answer generation).

Required scope: brain:read

Query parameters

NameRequiredNotes
qyes
modeno
kno
maxEntitiesno
pathPrefixno
includeBodiesnotrue inlines full (clipped) doc bodies into contextMd — for single-shot readers

Example

curl -X GET 'https://brain.unisonlabs.ai/v1/brain/context' \
  -H "Authorization: Bearer $UNISON_TOKEN"

Returns the JSON described above on success, or an error envelope { "error": { "code", "message" } } on failure.