Skip to main content

HTTP status codes

Error response format

Processing errors vs. API errors

  • API errors (4xx): the request itself failed. No document was processed.
  • Processing errors (in the errors field of a 200 response): the document was processed but some fields couldn’t be extracted or validated.
A response with status: "completed_with_errors" is still a 200 OK:

Retry strategy

For 503 (high load) responses, implement exponential backoff: