API Overview
The REST API is served from .OpenAPI
The OpenAPI specification is the source of truth for REST endpoints. Runbun run docs:sync to refresh the generated reference page from apps/api/openapi.json.
RPC gateway
CLI and MCP clients call typed JSON-RPC methods atPOST /rpc on the same API host.