Skip to main content
The REST API is described by an OpenAPI 3.1 document at docs/openapi.json in the repository, served in this site at api-reference/openapi.json. It is generated from the Go source, go/httpapi/rest.go for routes and query parameters, go/service for tool behavior, go/fd for response field order, so the spec and the running server cannot drift apart the way hand-written documentation can. The document declares one server:
and one security scheme, an API key sent as a header:
That combination is what turns on the request playground on every generated endpoint page. Open the API Reference tab, pick an endpoint, fill in X-API-KEY and any parameters, and send a real request against the live server. Responses come back in the same panel with status tabs for the codes that route can return, 200, 400, 401, 402, and others depending on the endpoint. See Errors for what each code means.

Two ways to read the same spec

The API Reference tab auto-generates one page per operation directly from the spec, 35 pages covering both the 15 implemented routes and the 20 that are registered but not implemented yet. It is the complete, unfiltered listing. The Datasets pages are a smaller, curated set, one page per implemented operation, grouped by data family in the sidebar, each pulling in the same request playground and adding an explanation of the provider chain, real coverage numbers, and a worked example. Start there if you are new to a dataset. Use the API Reference tab when you already know the route and want the full parameter and schema listing.

Downloading the spec

The raw file is available at /api-reference/openapi.json on the deployed docs site, and in the repository at docs/openapi.json. Point any OpenAPI-aware code generator or client library at either one.