Idempotency-Key
header for all POST/PATCH
operations. Although the idempotency key is not required, it is strongly encouraged for all POST/PATCH
requests. Idempotency keys for GET/PUT/DELETE
requests will be ignored since these requests are idempotent by default.
Users will be able to safely retry requests that include an Idempotency-Key
within 48 hours. Keys will expire after 48 hours, and Orb may re-execute side-effects as a result.
Idempotency-Key
header in the response to signal acknowledgement and processing of the key.
Orb will include Idempotent-Replayed: true
in the response to signal that the response is being served from a previous action. This can be taken to mean that no new side-effects were executed.
409 Conflict
errors for idempotency reasons. This means that these requests will not be replayed because request processing has not started. Retrying these requests should be safe.
In the case of transient internal server errors, Orb will include the HTTP header Transient-Error
with the value true
. Such requests can be safely retried, and clients can reuse the same idempotency key within 48 hours to retry the request.