get_delivery
Retrieve a webhook delivery by its ID to inspect status, attempts, and timestamps. Optionally include the original payload to debug failures.
Instructions
Fetch a single delivery by its public id (del_xxx). Returns status, attempt count, timestamps. Pass include_payload=true to also fetch the original webhook body — critical for debugging why a delivery failed. Adds one extra HTTP round-trip. Example: "why did del_xyz fail?" → call with delivery_id="del_xyz", include_payload=true to see the body the producer sent, then follow up with list_attempts to see what each HTTP attempt returned. For the full delivery schema and status value meanings, see resources nahook://schemas/delivery and nahook://schemas/delivery-statuses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delivery_id | Yes | the delivery's public id (del_xxx) | |
| include_payload | No | when true, also fetch the original webhook body the producer sent. Adds one HTTP round-trip. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delivery | Yes | the delivery | |
| payload | No | the original webhook body, present only when include_payload was true. Shape matches whatever the producer sent (object, array, etc.) | |
| payload_processing | No | true when the backend says the payload is still being uploaded to storage. Retry shortly. |