Error Codes
HTTP Error CodeDescription
| HTTP Status Code | error.code | Description |
|---|---|---|
| 400 | INVALID_REQUEST | Invalid request parameters, e.g. missing model or prompt, or incorrect model format. |
| 401 | — | Authorization header missing or token invalid. |
| 404 | TASK_NOT_FOUND | task_id does not exist, or the task does not belong to the current API Key. |
| 500 | INTERNAL_ERROR | Internal server error. Please try again later. |
⚠️ Error response format is unified as:
{ "error": { "code": "...", "message": "..." } }