API reference · Webhooks
The account's webhook delivery log
GET/api/webhooks/deliveriesSigned in session
The newest deliveries to the account's webhooks, each with every attempt: status, time, latency and the first bytes of the answer. Kept for ANTIMATTER_WEBHOOK_LOG_RETENTION_DAYS (30 unless set), and gone with the endpoint that received them.
Parameters
| Field | Type | What it is |
|---|---|---|
| event (query) | string | One of "budget.threshold", "key.created", "key.revoked", "price.change", "alert.triggered", "alert.resolved", "credits.low_balance", "plan.renewed", "plan.ended", "model.degraded", "model.recovered", "shadow.candidate_ready", "shadow.auto_switched", "shadow.savings_report", "distill.completed", "distill.proof_ready", "studio.shot_finished", "project.budget_threshold", "spend.forecast_over_cap". |
| hook (query) | integer |
Answer 200
The log, newest first.
| Field | Type | What it is |
|---|---|---|
| deliveriesrequired | array of object | |
| deliveries[] | string | dlv_ and 24 hex digits. |
| deliveries[] | integer | |
| deliveries[] | string | One of "budget.threshold", "key.created", "key.revoked", "price.change", "alert.triggered", "alert.resolved", "credits.low_balance", "plan.renewed", "plan.ended", "model.degraded", "model.recovered", "shadow.candidate_ready", "shadow.auto_switched", "shadow.savings_report", "distill.completed", "distill.proof_ready", "studio.shot_finished", "project.budget_threshold", "spend.forecast_over_cap". |
| deliveries[] | boolean | The newest attempt decides. |
| deliveries[] | integer | |
| deliveries[] | array of object | |
| deliveries[] | integer | 1 for the first try; the sender retries a failed delivery on a backoff. |
| deliveries[] | integer | The endpoint's HTTP status, or 0 when nothing answered. |
| deliveries[] | boolean | |
| deliveries[] | integer or null | |
| deliveries[] | string or null | The first bytes of the answer, as text with control characters taken out. |
| deliveries[] | string or null | Why the attempt failed, when it did. |
| deliveries[] | integer | Unix milliseconds. |
| deliveries[] | string or null | The delivery this one sent again. |
| deliveries[] | string or null | A later delivery that sent this one again. |
| deliveries[] | boolean | The payload was kept, so it can be sent again. |
| retentionDays | integer |
Errors
- 401OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.