Skip to main content
Muxx provides two main APIs:

Gateway API

The gateway is an OpenAI-compatible and Anthropic-compatible proxy:
  • Base URL: https://gateway.muxx.dev/v1
  • Authentication: X-Muxx-Api-Key header
  • 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

EndpointDescription
GET /logsList request logs
GET /logs/{id}Get log details
GET /analyticsGet usage analytics
GET /promptsList prompts
GET /prompts/{name}Get prompt content

Authentication

All API requests require authentication:
# Gateway
curl https://gateway.muxx.dev/v1/chat/completions \
  -H "X-Muxx-Api-Key: muxx_sk_live_xxxxxxxxxxxx"

# Management API
curl https://api.muxx.dev/v1/logs \
  -H "Authorization: Bearer muxx_sk_live_xxxxxxxxxxxx"

Rate Limits

PlanRequests/minRequests/day
Free601,000
Pro600100,000
EnterpriseCustomCustom

Errors

All APIs return standard error responses:
{
  "error": {
    "message": "Invalid API key",
    "type": "authentication_error",
    "code": "invalid_api_key"
  }
}
StatusMeaning
400Bad request
401Authentication failed
403Permission denied
429Rate limited
500Server error