Skip to main content
Errors are application/problem+json with a stable code:

When a document fails

If the problem shows up during processing, the request was already accepted: the document ends with status: "failed" and error.code explains why. You are not charged.

Idempotency

Send Idempotency-Key in POST /documents. If you repeat the request with the same key and the same body (within 24 h, in the same project), you get the same document without creating another one or being charged twice. With a different body, 422 idempotency_key_reused.