POST /v2/retrieve is the main path. In one call it runs:
- query maker — classifies what the last message adds (new question, refinement, patient fact) and reformulates it;
- two-path retrieval — semantic ‖ concepts + graph, in parallel;
- context — the knowledge units retained, their decision tables, their documents;
- synthesis — a Markdown answer, cited on those units and nothing else.
deliberate).
Minimal request
The fields that matter
The retrieval knobs (
concept_k, chunk_k, mku_k, mku_weight, table_k,
use_cross_refs) are exposed, but their defaults are the measured operating
point. Changing them steps outside what the evaluations cover. Each is
detailed in the API Reference tab.
What comes back
Three formats, one answer
Negotiation happens onAccept rather than a ?format= parameter: the client
states what it can read.
In JSON,
answer’s newlines are escaped as \n: read it with jq -r '.answer'.