Grounded clinical answer with citations
Return a concise answer grounded ONLY in the clinical knowledge base, with the recommendations cited. Synchronous (non-streamed).
Authorizations
Locus API key — paste the raw lsk_… value (no 'Bearer ' prefix).
Body
Response
Successful Response
Echo of the submitted question.
Concise answer grounded ONLY in the retrieved sources. If the knowledge base does not cover the question, a fixed 'not found' sentence.
Citations actually used — deduplicated by recommendation.
The question restated clearly by the model.
The agentic pipeline as input→output steps (search → rerank → answer). Display-only; for UIs that 'show the reasoning'. Safe to ignore.
The sources that grounded the answer, as structured stacks (metadata + their excerpt units), grouped by recommendation. Richer than sources (the deduped citation line). Display-only.
Prompt tokens billed.
Completion tokens billed.