Webhooks
Send test event
Queue a webhook.test event to the endpoint and return its delivery; needs an Idempotency-Key.
Authorization
Send Authorization: Bearer gr_... with a key from the Developer access page. The browser session cookie gpu_router_session also works.
Headers
Idempotency-Keystring | nullRequired and non-empty; missing or empty answers 400 IDEMPOTENCY_KEY_REQUIRED
Path parameters
idstringrequiredResponses
202application/jsonThe queued webhook.test delivery; it is sent in the background right after this response, so poll GET /v1/webhooks/{id}/deliveries for its status. A failed attempt retries like any event; a repeated Idempotency-Key returns the same delivery without sending again.
Show response attributes
idstringrequiredevent_idstringrequiredevent_typeenum<string>requiredAvailable options: job.completed job.failed run.completed run.failed benchmark.completed budget.reached webhook.test
statusenum<string>requiredAvailable options: pending delivered failed
attemptsintegerrequiredlast_status_codeinteger | nullrequiredlast_errorstring | nullrequirednext_attempt_atstring<date-time> | nullrequiredWhen the next attempt is due; null once delivered or given up.
created_atstring<date-time>requireddelivered_atstring<date-time> | nullrequirednotestring | nullSet for a demo account: its deliveries are simulated and never sent.
400application/jsonIDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing or empty.
IDEMPOTENCY_KEY_REQUIRED401application/jsonUNAUTHENTICATED: missing, invalid, expired, or revoked session or API key.
UNAUTHENTICATED403application/jsonCSRF_ORIGIN_MISMATCH: the Origin header does not match the public URL.
CSRF_ORIGIN_MISMATCH404application/jsonWEBHOOK_NOT_FOUND: no endpoint with this id belongs to the caller.
WEBHOOK_NOT_FOUND429application/jsonRATE_LIMITED (retryable): the signed-in user made more than GPU_ROUTER_RATE_PER_MINUTE mutating requests in the last minute. Nothing was changed.
RATE_LIMITED500application/jsonUnexpected failure: INTERNAL_ERROR.
INTERNAL_ERROR502application/jsonAUTH_PROVIDER_REJECTED: the provider refused the request (not retryable).
AUTH_PROVIDER_REJECTED503application/jsonAUTH_NOT_CONFIGURED (not retryable) or AUTH_PROVIDER_UNAVAILABLE (retryable).
AUTH_NOT_CONFIGUREDAUTH_PROVIDER_UNAVAILABLEMCP tool
test_webhook: Send a signed webhook.test event to an endpoint and return the delivery (id, status, attempts) so the user can check the endpoint and its signature check. Reuse idempotency_key to retry without a second event. Free.