Webhooks

Retry delivery

Queue a failed delivery again and send it in the background.

POST/v1/webhooks/{id}/deliveries/{delivery_id}/retryAPI key

Authorization

Send Authorization: Bearer gr_... with a key from the Developer access page. The browser session cookie gpu_router_session also works.

Path parameters

delivery_idstringrequired
idstringrequired

Responses

202application/json

The delivery, pending again with its attempts so far; it is sent in the background right after this response. A failure then retries as usual while the delivery is inside its 24 h window, counted from when it was first queued; past that window the one retry decides.

Show response attributes
idstringrequired
event_idstringrequired
event_typeenum<string>required

Available options: job.completed job.failed run.completed run.failed benchmark.completed budget.reached webhook.test

statusenum<string>required

Available options: pending delivered failed

attemptsintegerrequired
last_status_codeinteger | nullrequired
last_errorstring | nullrequired
next_attempt_atstring<date-time> | nullrequired

When the next attempt is due; null once delivered or given up.

created_atstring<date-time>required
delivered_atstring<date-time> | nullrequired
notestring | null

Set for a demo account: its deliveries are simulated and never sent.

401application/json

UNAUTHENTICATED: missing, invalid, expired, or revoked session or API key.

UNAUTHENTICATED
403application/json

CSRF_ORIGIN_MISMATCH: the Origin header does not match the public URL.

CSRF_ORIGIN_MISMATCH
404application/json

WEBHOOK_NOT_FOUND or WEBHOOK_DELIVERY_NOT_FOUND: no such endpoint or delivery of the caller's.

WEBHOOK_NOT_FOUNDWEBHOOK_DELIVERY_NOT_FOUND
409application/json

WEBHOOK_DELIVERY_NOT_FAILED: only a failed delivery can be retried; a pending one is already queued.

WEBHOOK_DELIVERY_NOT_FAILED
429application/json

RATE_LIMITED (retryable): the signed-in user made more than GPU_ROUTER_RATE_PER_MINUTE mutating requests in the last minute. Nothing was changed.

RATE_LIMITED
500application/json

Unexpected failure: INTERNAL_ERROR.

INTERNAL_ERROR
502application/json

AUTH_PROVIDER_REJECTED: the provider refused the request (not retryable).

AUTH_PROVIDER_REJECTED
503application/json

AUTH_NOT_CONFIGURED (not retryable) or AUTH_PROVIDER_UNAVAILABLE (retryable).

AUTH_NOT_CONFIGUREDAUTH_PROVIDER_UNAVAILABLE

MCP tool

retry_webhook_delivery: Queue a failed delivery again (WEBHOOK_DELIVERY_NOT_FAILED for a pending or delivered one) and return it pending. Free.