curl --request GET \
--url 'https://api.computer.stateset.app/api/v1/webhooks/deliveries/recent' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"endpoint_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"event_type": "string",
"status": "pending",
"response_code": 1,
"attempts": 1,
"next_retry_at": "2026-08-31T14:22:05Z",
"created_at": "2026-08-31T14:22:05Z"
}
]
Aggregate webhook delivery view across all tenant endpoints
Recent delivery attempts across all the tenant’s webhook endpoints…
GET
/
api
/
v1
/
webhooks
/
deliveries
/
recent
curl --request GET \
--url 'https://api.computer.stateset.app/api/v1/webhooks/deliveries/recent' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"endpoint_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"event_type": "string",
"status": "pending",
"response_code": 1,
"attempts": 1,
"next_retry_at": "2026-08-31T14:22:05Z",
"created_at": "2026-08-31T14:22:05Z"
}
]
Recent delivery attempts across all the tenant’s webhook endpoints.
Per-endpoint history sits at
/webhooks/{id}/deliveries — this is
the dashboard view: ‘show me what every webhook fired in the last
N attempts, regardless of which endpoint.’ Sorted newest-first.
Cross-tenant leakage prevented by joining through WebhookEndpoint.
Pagination. Two modes:
- Bare
?limit=Nreturns the N newest rows, withX-Next-Cursorset when the result fills the page (more rows exist). - Pass
?cursor=<value>to page strictly past the seed — receives only rows strictly older than the cursor’screated_at(ties broken by id for determinism). Mirror of the cursor pattern on/jobs.
Query parameters
integer
string,null
Filter to one of: pending, success, failed.
string,null
Opaque cursor from a previous response’s
X-Next-Cursor header. When supplied, pages strictly past the seed row using a seek predicate — stable across new deliveries arriving mid-paginate (offset would skip rows; cursor won’t). Format is the prior page’s last delivery id.Response
WebhookDeliverySummary[] — each element:
string
required
string
required
string
required
string
required
pending | success | failed
integer,null
HTTP status from the receiver, if a response was received.
integer
required
Total attempts so far (1..3).
string,null
Scheduled retry time, ISO 8601 UTC, when status == ‘failed’.
string
required
Status codes
| Code | Meaning |
|---|---|
200 | Successful Response |
422 | Validation Error |
curl --request GET \
--url 'https://api.computer.stateset.app/api/v1/webhooks/deliveries/recent' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"endpoint_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"event_type": "string",
"status": "pending",
"response_code": 1,
"attempts": 1,
"next_retry_at": "2026-08-31T14:22:05Z",
"created_at": "2026-08-31T14:22:05Z"
}
]
Last modified on August 31, 2026