API reference

API reference · Webhooks

Send every failed delivery again

POST/api/webhooks/deliveries/retry-failedSigned in session

Every failed delivery on the newest page of the log, of one event when named, one after another. Stops at the retry rate and says so. Same origin only.

Request body

application/json, optional

Request body fields
FieldTypeWhat it is
eventstring or nullOne 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", null.

Example

{
  "event": "budget.threshold"
}

Answer 200

What was sent again.

Fields of the 200 answer
FieldTypeWhat it is
retriedrequiredinteger
deliveredrequiredinteger
limitedboolean

Errors

  • 400OpenAI shaped error.
  • 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.

Antimatter