Base URL
Endpoints
| Endpoint | Purpose |
|---|---|
POST /query | Query S&P 500 filing evidence and return the requested response sections. |
GET /metadata-filters | List the metadata-filter fields and operators available for S&P 500 filings. |
Minimal Query
mode: "basic" and effort: "medium". It returns answer and summary by default.
Response Shape
/query returns a response with a stable request_id and optional top-level sections:
| Section | Contains |
|---|---|
answer | Generated answer grounded in retrieved filing evidence. |
metadata_distribution | Metadata distribution keyed by stable metric names, with readable display names inside each metric. |
analysis | Generated analysis of the retrieved sources and metadata. |
metadata_dashboard | Rendered ASCII summary of the metadata distribution. |
evidence | Grounding text selected by include.evidence_format; rendered evidence includes a source-key footer, while XML evidence omits it. |
summary | Selected mode, effort, filters, warnings, and evidence-path count. |
retrieval_plan | Retrieval query plan for agentic_research. |
Example Response Sections
Responses always includerequest_id. Other top-level sections are returned when enabled by include or by the selected query mode. The examples below are abbreviated to show their structure.
request_id
answer
metadata_distribution
This abbreviated example shows two metrics. The ... entry marks omitted metrics and is not returned literally.
analysis
metadata_dashboard
The API returns metadata_dashboard as a string.
Returned JSON field:
evidence
The API returns evidence as a string. With evidence_format: "rendered", the formatted evidence includes a trailing <source_key> quick reference. relevance_score is a system-derived integer from 0 to 10 that indicates how closely the evidence chain matches the query. confidence_score reflects the system’s confidence in the specific fact captured by that entry. An entry can cite multiple sources: all cited sources support the shared <consensus> claim, while each source can contribute distinct <observed_epistemic_statuses> and <additional_context>.
Returned JSON field: