Query
query Workflows {
workflows {
edges {
cursor
node {
id
name
trigger
startStepId
steps {
__typename
}
publishedAt {
__typename
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"workflows": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"name": "string",
"trigger": "string",
"startStepId": "id",
"steps": [
{
"__typename": "WorkflowStep"
}
],
"publishedAt": {
"__typename": "DateTime"
}
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Queries
workflows
List workflows in the workspace, paginated. Use filters to narrow results by trigger type (MANUAL or EVENTS) or published status.
QUERY
workflows(first: Int, after: String, last: Int, before: String, filters: WorkflowsFilter): WorkflowConnection!Arguments
first
Int
after
String
last
Int
before
String
filters
Returns
edges
[WorkflowEdge!]!
pageInfo
Query
query Workflows {
workflows {
edges {
cursor
node {
id
name
trigger
startStepId
steps {
__typename
}
publishedAt {
__typename
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"workflows": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"name": "string",
"trigger": "string",
"startStepId": "id",
"steps": [
{
"__typename": "WorkflowStep"
}
],
"publishedAt": {
"__typename": "DateTime"
}
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Was this page helpful?

