Docs
Errors
Every failure is structured JSON with error.code. Branch on the code, not the HTTP status text. Failed operations, 429s, and 402s are never billed.
Every failure returns { "error": { "code", "message" } } plus optional details. SDKs throw RelayPDFError with status, code, message, and retryAfter when present.