Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

workflowExecutions

List workflow executions with pagination support. Returns lightweight execution metadata without history. Use workflowHistory query to fetch history for specific executions. Pagination uses Temporal’s NextPageToken directly.

Served by: workflow

Name Type Description
where WorkflowExecutionsWhereInput Filter criteria for workflow executions.
first Int Maximum number of executions to return. Defaults to 100.
after String Pagination cursor from previous response (NextPageToken from Temporal).
orderBy WorkflowExecutionOrder Ordering options for the returned list.

WorkflowExecutionInfoConnection!

Lists workflow executions from Temporal with optional filtering.

query GetWorkflowExecutions($where: WorkflowExecutionsWhereInput, $first: Int, $after: String, $orderBy: WorkflowExecutionOrder) {
workflowExecutions(where: $where, first: $first, after: $after, orderBy: $orderBy) {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
autoResetPoints
closeTime
execution {
id
workflowId
}
executionDuration
executionTime
historyLength
historySizeBytes
mostRecentWorkerVersionStamp
parentExecution {
id
workflowId
}
parentNamespaceId
remoteUI {
mobileURL
webURL
}
rootExecution {
id
workflowId
}
searchAttributes {
key
value
}
startTime
stateTransitionCount
status
taskQueue
type {
name
}
}
}
}
}

Variables

{
"first": 10,
"orderBy": {
"direction": "DESC",
"field": "START_TIME"
}
}