The complete surface at a glance. Every 4xx/5xx body uses the OpenAI error envelope, extended with Routeplane-branded codes, see Errors.
| Endpoint | Auth | What it does |
|---|---|---|
POST /v1/chat/completions | Key | OpenAI-compatible chat (buffered + SSE), full pipeline. |
POST /v1/embeddings | Key | OpenAI-compatible embeddings (OpenAI / Azure / Gemini). |
GET /v1/prompts/{ref} | Key | Fetch a stored prompt version. |
POST /v1/prompts/{ref}/render | Key | Server-side render, no upstream call. |
POST /v1/prompts/{ref}/completions | Key | Render and run through the chat pipeline. |
POST /v1/mcp/tool-call/authorize | Key | MCP agent gateway: authorize a tool call (default-deny). |
POST /v1/mcp/tool-result/inspect | Key | Inspect a tool result for agentic threats. |
POST /v1/mcp/run/step | Key | Advance an agent run with per-run circuit breaking. |
GET /analytics | Key | Recent usage events (newest last). |
GET /healthz | None | Liveness probe. |