Skip to main content

Authentication

All Agent API requests require an API key.
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Use the same header for submit, task status, result, and file endpoints.

Unauthorized Response

{
  "code": 401,
  "error": {
    "message": "Invalid or missing API key",
    "type": "unauthorized"
  }
}