Header semantics
To execute a dry run request, you must explicitly pass the following header in your API request:
This header instructs the API to treat the request as a dry run, meaning it will process the request as if it were real but will not persist any changes.
When using dry run, you cannot pass an idempotency key. If you include an idempotency key in a dry run request, Orb will return a validation error.
Example
Unsupported endpoints
While Orb’s API broadly supports dry runs, there are specific event based endpoints where dry running is not supported. These endpoints are:Response headers
When a request is sent with theDry-Run header and the request is successfully processed as a dry run, the response will include the following header and value:
This header in the response confirms that the request was treated as a dry run and that no changes were made to the data.
However, if the
Dry-Run header is included in the request but, for any reason, the request was not processed as a dry run (for instance, if the request is sent to an unsupported endpoint), the Orb-Dry-Run header will not be present in the response. This absence indicates that the request was executed normally and not as a dry run.