Skip to main content

POST /v1/context

Returns concise, grounded, pre-turn context for your host application.

Request body

Request fields

ContainerHint

RetrievalBudgets

RequestMetadata

Response

XML block format

Notes

  • If the user does not exist, the response returns not_found.
  • Missing containers are reported in diagnostics.
  • The endpoint may abstain when evidence is weak or irrelevant.
  • Public diagnostics are relevance-gated. Unrelated raw retrieval hits are kept internal and do not appear in candidate_count, used_memory_count, or source_breakdown.
  • If no relevant memories survive gating, the endpoint short-circuits before the enhancer LLM runs.

Response field notes