Skip to main content
Request failures return a JSON ErrorResponse envelope:
Request-body validation errors use the same envelope with a structured error list:
Server failures include stable error codes, for example {"code": "INTERNAL_SERVER_ERROR"}.

Status Codes

Common Validation Failures

Successful Responses with Warnings

Partial retrieval and token-budget truncation are successful HTTP 200 responses. Inspect summary.warnings, coverage, and evidence_budget to decide whether to answer, retry with a larger budget, or report an evidence gap. When no evidence is found, the query still returns a successful response. summary.warnings includes LOW_EVIDENCE, and retrieval-derived sections such as metadata_distribution are empty when requested. An undersized token budget is different from an empty retrieval. If evidence was found but no complete chain fits, the API omits evidence, reports requirements as omitted_by_budget, and includes EVIDENCE_BUDGET_TRUNCATED. It does not return "No data found" or add LOW_EVIDENCE.