API Reference
Document your API right inside your docs — multiple endpoints per page, as embedded nodes.
Endpoint nodes #
Drop an endpoint block anywhere in a doc page with /endpoint. Each block captures one endpoint's structured metadata — procedure, method (query/mutation), auth, parameters, and an example response — and renders a method badge, parameter table, and request/response samples on the live site.
A single page can describe several endpoints, so related calls live together instead of one-endpoint-per-page sprawl.
Language-agnostic #
The endpoint's structured data (procedure, types, param names) is the same across locales — only surrounding prose and tables are translated.
Authored by agents, too #
Because endpoints serialize to a simple <endpoint> node in the page body, an AI agent (via MCP) can add or update API reference pages programmatically.