Query the ExoBrain
Run one ExoBrain forward pass over the org’s knowledge graph and return the glass-box result: the focal nodes the model settled on, the cosine top-K head for comparison, gate confidence, drift rate,.
POST /v1/brain/train); returns 404 when no brain artifact exists yet, and 409 while a newly published artifact is still being picked up. This route reads the API key owner’s own content, so the X-Exo-Subject selector is not accepted here.
Authorization
This route requires theread scope.
A missing or invalid credential returns 401 authentication_error. A valid credential without the scope returns 403 permission_denied, and the problem body names the exact scope required.
Headers
These are request conventions the contract does not declare as parameters, so they do not appear in the schema tables below.Success responses
Errors
application/problem+json body carrying a stable code, a requestId, and a suggestedAction where Exo has one. See Errors.
Notes
- Requires a trained brain. No artifact yet is 404, and a freshly published artifact that is still being picked up is 409.
- This route reads the key owner’s own content.
X-Exo-Subjectis refused with 400subject_not_supportedrather than silently ignored.
Authorizations
An Exo API key (exo_...) sent as the X-Exo-API-Key header.
Body
Response
The focal set, cosine head and cognitive signals from the forward pass.
The glass-box result of one ExoBrain forward pass.
focal is the working-memory set the model settled on, cosine_top is
the plain nearest-neighbour head for comparison, and confidence /
drift_rate / tier / use_system2 are the cognitive signals that
drove the propagation.
Cosine top-K head for comparison (node_id, score, snippet).