Error response format
All API errors return anerror object.
HTTP status codes
Invalid request
Malformed requests return:Invalid parameter
Unknown query parameters, invalid values, unsupported sort fields, and other parameter validation errors return:Invalid cursor
Malformed, modified, or mismatched pagination cursors return:Authentication errors
A missing, invalid, or revoked API key returns:Resource not found
If a requested resource does not exist or belongs to another workspace, the API returns:Rate limit errors
When a workspace exceeds an API rate limit, the API returns:Retry-After indicates how long to wait before retrying the request.
Server errors
Unexpected server errors return:Request IDs
Every API request receives a unique request ID. It is returned in the response header:error.request_id.
Use the request ID when reviewing API Logs or contacting 1eye support about a failed request.