Skip to content

automationRuns

Fetch paginated AutomationRuns collection

Arguments

automation_id · ID! · required · The ID of the automation to fetch runs for
status · AutomationRunStatus · Filter runs by execution status
after · String · Returns the elements in the list that come after the specified cursor.
before · String · Returns the elements in the list that come before the specified cursor.
first · Int · Returns the first _n_ elements from the list.
last · Int · Returns the last _n_ elements from the list.

Returns

AutomationRunPaginationConnection

Example

query automationRuns(
$automation_id: ID!
$status: AutomationRunStatus
$after: String
$before: String
$first: Int
$last: Int
) {
automationRuns(
automation_id: $automation_id
status: $status
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}