Authorization: Bearer <key> header (or ?key=<key> for SSE streams).
Base URL
| Environment | URL |
|---|---|
| Production | https://litellm-rust.onrender.com |
| Local (Docker Compose) | http://localhost:4000 |
Authentication
All endpoints require your master key:sk-local.
Live Swagger UI
The full interactive Swagger UI is available at:- Production: litellm-rust.onrender.com/docs
- Local: localhost:4000/docs
/openapi.json — import it into Postman, Insomnia, or any OpenAPI-compatible client.
Endpoint groups
| Group | Description |
|---|---|
| System | Health check and capabilities |
| Models | List available model aliases |
| Messages | Anthropic-compatible chat completions |
| Agents | Create and manage agents |
| Sessions | Create sessions and stream events |
| Runtimes | Configure built-in runtime credentials and manage custom runtime harnesses |
| API Keys | Issue and revoke gateway keys |
| MCP | Proxy requests to MCP tool servers |