Reference

Errors

HTTP status codes and error format.

ZeroShot uses standard HTTP status codes:

CodeMeaning
200Success
400Bad Request — Invalid parameters
401Unauthorized — Invalid or missing API key
403Forbidden — Insufficient permissions
404Not Found — Resource doesn't exist
429Too Many Requests — Rate limit exceeded
500Server Error — Something went wrong

Error Response Format

{
  "error": {
    "type": "invalid_request_error",
    "message": "Target URL is required",
    "param": "target"
  }
}

On this page