Mutation
sendWebhookTestEvent
Send a signed synthetic ping to a subscription's endpoint and return the settled delivery.
Arguments
- id ID! required
- UUID of the subscription to test.
Returns
Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.
- userErrors [UserError!]!
- List of user-facing errors. Populated when the subscription was not found or the ping was rate-limited; both surface on ["id"].
- field [String!]
- Path to the input field that caused the error.
- message String!
- The error message.
- webhookDelivery WebhookDelivery
- The settled test delivery (status / lastResponseStatus / responseTimeMs). Null when the subscription is not found or the ping is rate-limited. The ping shares the outer envelope + signature with real events, so it validates transport + X-Archive-Signature verification end-to-end. Its data is { ping: true, subscription_id, sent_at }, not the content_view.item_added { item, view } shape, so do not parse it as an item or view event.
- attemptCount Int!
- Lifetime number of attempts made (also the backoff-ladder index). The ladder is 8 attempts total: one immediate try plus backoffs at 1m/5m/30m/2h/6h/12h/24h (±20% jitter), spanning about 44.6h nominal (up to about 53.5h with max jitter).
- createdAt DateTimeWithZone!
- When the delivery was created.
- eventId ID!
- ID of the webhook event being delivered.
- id ID!
- Unique identifier of the delivery.
- lastAttemptAt DateTimeWithZone
- When the most recent attempt was made. Null before the first attempt.
- lastError String
- Error message from the most recent failed attempt. Null on success.
- lastResponseStatus Int
- HTTP status of the most recent attempt. Null for transport-level failures.
- nextAttemptAt DateTimeWithZone
- When the next attempt is scheduled. Null when terminal (exhausted or dropped, no retry queued). Pushed to the cooldown while the endpoint host circuit breaker is open (deferred, not failed).
- responseTimeMs Int
- Round-trip time of the most recent attempt in milliseconds.
- status WebhookDeliveryStatus!
- Current status of this delivery attempt. FAILED is retried on the backoff ladder until terminal (then redeliverable); DROPPED is backpressure/rate-limit and is never retried (recover via webhookEvents).
- DELIVERING
- Currently being delivered (claimed for one attempt).
- DROPPED
- Dropped without delivery by backpressure (backlog cap reached) or rate-limiting (per-subscription events/sec bucket exhausted). Not retried; the business event remains in the outbox (webhookEvents). Never used for auto-disable.
- FAILED
- The attempt failed. Terminal failures are redeliverable.
- PENDING
- Queued or scheduled for a (re)attempt.
- SUCCEEDED
- Delivered successfully (endpoint returned a 2xx).
- subscriptionId ID!
- ID of the subscription this delivery belongs to.
- updatedAt DateTimeWithZone!
- When the delivery was last updated.