List project webhook runs

listProjectWebhookRuns(command: RunsListProjectWebhookRunsCommand!): RunsRunConnection!

Requires project.runs.read.

Arguments

ArgumentTypeRequired
commandRunsListProjectWebhookRunsCommand!Yes

Input fields

command

RunsListProjectWebhookRunsCommand

FieldTypeRequiredDescription
projectReferenceString!Yes
webhookDefinitionIdID!Yes
limitFloatNoMaximum number of records in a page, from 1 to 100. Defaults to 20.
cursorStringNoThe page_info.next of the previous page: the webhook_event_id of its last run. Keep sort_order the same across pages.
sortOrderStringNoCreation order: desc (newest first, the default) or asc.

Response

Returns RunsRunConnection!. Open the type for its fields and nested types.

FieldTypeDescription
data[RunsRun!]!
pageInfoPageInfo!Opaque cursor for the next page; null means there are no more results.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
query ListProjectWebhookRuns($command: RunsListProjectWebhookRunsCommand!) {
  listProjectWebhookRuns(command: $command) {
    data {
      id
      projectId
      runId
      status
      createdAt
    }
    pageInfo {
      hasNextPage
      endCursor
      hasPreviousPage
      startCursor
    }
  }
}
json
{
  "command": {
    "projectReference": "example",
    "webhookDefinitionId": "00000000-0000-4000-8000-000000000001"
  }
}