Demo content for the Relay template. Product name, prices and copy are placeholders. Replace before publishing.

Guide ยท

How to retry a request without billing it twice

Placeholder article. The rich text field in the Blog collection renders here with these styles: paragraphs, second-level headings, code and lists.

Send an idempotency key

Add a unique header to each logical request. If the network drops, send the same call again with the same header.

curl https://api.relay.example/v1/generate \
  -H "Idempotency-Key: 7c1e-ticket-4412"

Retry only what is safe

Retry on 429 and 5xx with a growing delay. Do not retry on 400 or 401.