Brain
GET /v1/brain/context
One-call recall: full retrieval pipeline + entity facts/timelines, returned as a prompt-ready context block (no answer generation).
GET /v1/brain/contextOne-call recall: full retrieval pipeline + entity facts/timelines, returned as a prompt-ready context block (no answer generation).
Required scope: brain:read
Query parameters
| Name | Required | Notes |
|---|---|---|
q | yes | |
mode | no | |
k | no | |
maxEntities | no | |
pathPrefix | no | |
includeBodies | no | true 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.