cURL
Idempotency-Key or X-Idempotency-Key. If a request with the same key and the same activity is retried, Onstacks returns the original result instead of repeating the action.
- Generate one key per operation, not per HTTP attempt. Reuse it across retries of that operation.
- Keys are optional. Requests without one are always processed as new.
- A key doesn’t replace validation. A retried request must target the same activity to count as a duplicate.