Skip to content
cascadehook.docs
API referenceDeliveries

List completed delivery attempts

Newest logical attempt first; cursor is bound to its delivery and cycle filter. Response bodies and sensitive headers are never exposed. Unknown or repeated query parameters are rejected.

GET
/v1/deliveries/{delivery_id}/attempts

Newest logical attempt first; cursor is bound to its delivery and cycle filter. Response bodies and sensitive headers are never exposed. Unknown or repeated query parameters are rejected.

Authorization

projectAPIKey
headerAuthorizationBearer <ch_dev_ or ch_live_ project API key>

Read CASCADEHOOK_API_KEY from the local environment. Never print keys or headers. Scope is the project selected when the key was created.

Path Parameters

delivery_id*string
Formatuuid

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
cursor?string

Opaque next_cursor from the preceding page; omit on the first page. Keep filters unchanged.

Length1 <= length <= 512
cycle?integer
Range0 <= value <= 2147483647

Response Body

List completed delivery attempts

application/json
  1. response
data*array<>
next_cursor*|

Opaque cursor. Null means the final page. Repeat the same filters when continuing.

Example Request
curl -X GET 'https://api.cascadehook.com/v1/deliveries/497f6eca-6276-4993-bfeb-53cbbbba6f08/attempts'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",      "delivery_id": "9892f438-d31c-4ff2-bc84-146525b292ff",      "cycle": 0,      "attempt_number": 1,      "started_at": "2019-08-24T14:15:22Z",      "finished_at": "2019-08-24T14:15:22Z",      "duration_ms": 0,      "status_code": 100,      "outcome": "succeeded",      "error_code": "string",      "response_truncated": true,      "response_read_error": true,      "delivery_state": "pending",      "terminal_reason": "string",      "retry_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string"}