Gateway API
The gateway is an OpenAI-compatible and Anthropic-compatible proxy:- Base URL:
https://gateway.muxx.dev/v1 - Authentication:
X-Muxx-Api-Keyheader - Endpoints: Standard provider endpoints
Management API
Programmatically access logs, analytics, and settings:- Base URL:
https://api.muxx.dev/v1 - Authentication: Bearer token with Muxx API key
Endpoints
| Endpoint | Description |
|---|---|
GET /logs | List request logs |
GET /logs/{id} | Get log details |
GET /analytics | Get usage analytics |
GET /prompts | List prompts |
GET /prompts/{name} | Get prompt content |
Authentication
All API requests require authentication:Rate Limits
| Plan | Requests/min | Requests/day |
|---|---|---|
| Free | 60 | 1,000 |
| Pro | 600 | 100,000 |
| Enterprise | Custom | Custom |
Errors
All APIs return standard error responses:| Status | Meaning |
|---|---|
| 400 | Bad request |
| 401 | Authentication failed |
| 403 | Permission denied |
| 429 | Rate limited |
| 500 | Server error |