Errors

The API uses standard HTTP status codes. Error responses are JSON with message or error and optional details.

HTTP status codes

FieldTypeDescription
400Bad RequestInvalid request body, missing or invalid parameters
401UnauthorizedMissing or invalid API key (Authorization header)
403ForbiddenValid key but insufficient permissions for this resource
404Not FoundResource (job, document, etc.) not found
429Too Many RequestsRate limit exceeded; retry after Retry-After or back off
500Internal Server ErrorServer error; retry with backoff

Response shape

{
  "message": "Human-readable error message",
  "error": "Optional error code",
  "details": {}
}

Rate limits (429)

When you exceed rate limits, the response includes a Retry-After header when applicable. See Rate limits for limits per endpoint and plan.