Idempotency-Key header protects a generation operation from accidental duplicate requests, including retries after a client timeout.
Use a unique, stable value for one logical operation. Do not reuse a key for unrelated generations.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Protect one generation operation from accidental retries.
Idempotency-Key header protects a generation operation from accidental duplicate requests, including retries after a client timeout.
Idempotency-Key: your-operation-id
| Request | Result |
|---|---|
| Same key and same normalized body | Returns the original operation |
| Same key and different body | 409 idempotency_conflict |
| No idempotency key | Always creates a new independent job |