Reference
Errors
HTTP status codes and error format.
ZeroShot uses standard HTTP status codes:
| Code | Meaning |
|---|---|
| 200 | Success |
| 400 | Bad Request — Invalid parameters |
| 401 | Unauthorized — Invalid or missing API key |
| 403 | Forbidden — Insufficient permissions |
| 404 | Not Found — Resource doesn't exist |
| 429 | Too Many Requests — Rate limit exceeded |
| 500 | Server Error — Something went wrong |
Error Response Format
{
"error": {
"type": "invalid_request_error",
"message": "Target URL is required",
"param": "target"
}
}