List the events a webhook received, newest first, to check deliveries, manual runs and replays; returns one page of webhook events, each with the run it started, if any, and an event that the filter stopped has the status ignored. Requires project.agents.read.
Arguments
projectReferenceID!requiredProject UUID or slug.
webhookIdID!requiredThe webhook id. A missing webhook fails with not_found.
inputWebhookEventsInputinput.limitIntMaximum webhook events to return, 1 to 100; default 50.
input.cursorIDThe previous page's pageInfo.endCursor. Keep sortOrder the same across pages.
input.sortOrderWebhookSortOrderCreation order; default desc (newest first). Ties break by id ascending. One of
asc,desc.
Responses
query WebhookEvents($projectReference: ID!, $webhookId: ID!) { webhookEvents(projectReference: $projectReference, webhookId: $webhookId) { data { id webhookId projectId status duplicate payload conversationId messageId runId canonicalRunId latestEventId errorCode errorMessage invokedBy manualInvokedByUserId receivedAt completedAt createdAt } pageInfo { hasNextPage hasPreviousPage startCursor endCursor } }}{ "data": { "webhookEvents": { "data": [ { "id": "string", "webhookId": "string", "projectId": "string", "status": "received", "duplicate": false, "payload": {}, "conversationId": "string", "messageId": "string", "runId": "string", "canonicalRunId": "string", "latestEventId": 0, "errorCode": "string", "errorMessage": "string", "invokedBy": "string", "manualInvokedByUserId": "string", "receivedAt": "2026-01-01T00:00:00Z", "completedAt": "2026-01-01T00:00:00Z", "createdAt": "2026-01-01T00:00:00Z" } ], "pageInfo": { "hasNextPage": false, "hasPreviousPage": false, "startCursor": "string", "endCursor": "string" } } }}The WebhookEventPage! in data.webhookEvents.