Error Handling
Errors return JSON with error, and in some cases details and code.
| Code | Status | Description |
|---|---|---|
| 200 | OK | Request succeeded. |
| 400 | Bad Request | Invalid request parameters. |
| 401 | Unauthorized | Missing or invalid API key. |
| 402 | Payment Required | Credits exhausted. |
| 404 | Not Found | Job not found. |
| 500 | Server Error | Internal server error. |
| 502 | Bad Gateway | Orchestrator service error. |
| 504 | Gateway Timeout | Request timed out. |