Skip to main content

Errors

Agent API errors use a consistent response envelope.
{
  "code": 400,
  "error": {
    "message": "invalid_field_type:urls, expected array",
    "type": "bad_request"
  }
}

Common Codes

HTTP codeMeaning
400Invalid request body or unsupported field
401Missing or invalid API key
402Insufficient credits
403Task does not belong to the authenticated account
404Endpoint feature or task not found
429Rate limit or credit limit exceeded
500Task submission failed