Skip to main content
All errors return a consistent JSON envelope and include an X-Request-Id header so you can quote it to support.

Error types

Common error codes

Retry strategy

For provider_unavailable and internal, retry with exponential backoff:
For rate_limited (429), honor the Retry-After header instead of exponential backoff.

Idempotency-Key replay

If a POST creates a generation and the connection drops, retry with the same Idempotency-Key. The original response is replayed (we send Idempotent-Replayed: true in the headers). No duplicate charge.