API reference
API reference
Base URL, authentication, the error envelope, and every endpoint in one table.
Everything here follows the standard chat-completions shape. If your client already talks to /v1/chat/completions, two changes are enough: the base URL, and the model string.
| Base URL | https://rapidrouter.ai/api/v1 |
| Authentication | Authorization: Bearer $RAPIDROUTER_API_KEY on every request (keys) |
| Errors | { "ok": false, "error": { "code", "message" } } (codes) |
| OpenAPI 3.1 | rapidrouter.ai/api/openapi.json |
| Docs as Markdown | llms.txt (index) and llms-full.txt (every page) |
Endpoints
Paths are relative to the base URL. key is an API key as a bearer token, session the dashboard login, used by the account endpoints, and management a management key.
Inference
MethodPathAuthDocs
POST/chatMedia
MethodPathAuthDocs
POST/imagesBatches
Models
Keys and account
MethodPathAuthDocs
GETPOST/provisioning