Skip to main content

API Reference

The MutagenT REST API provides programmatic access to all platform features.

Base URL

https://api.mutagent.dev

Authentication

All API requests require authentication via API key:
curl -H "x-api-key: sk_live_xxxxxxxxxxxx" \
  https://api.mutagent.dev/prompts

Rate Limits

PlanRequests/minuteRequests/day
Free601,000
Pro30010,000
EnterpriseCustomCustom

Response Format

All responses are JSON:
{
  "data": { ... },
  "meta": {
    "requestId": "req_xxxx",
    "timestamp": "2024-01-01T00:00:00Z"
  }
}

Error Responses

{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Invalid prompt ID",
    "details": { ... }
  },
  "meta": {
    "requestId": "req_xxxx"
  }
}

Common Status Codes

CodeDescription
200Success
201Created
400Bad Request
401Unauthorized
403Forbidden
404Not Found
429Rate Limited
500Server Error

SDKs

We recommend using our official SDKs instead of direct API calls:

OpenAPI Specification

The full OpenAPI specification is available at:
https://api.mutagent.dev/openapi.json