Using Idempotency Keys
Include anIdempotency-Key header with a unique string for each request.
Best Practices
- Generate a new idempotency key per logical operation (e.g., “create intent”).
- Reuse the same key when retrying the same operation due to timeouts or transient errors.
- Store the key server-side for at least 24 hours so your own retries remain consistent.
- If you accidentally reuse a key for a different operation, Guppy may return
409 Conflict.