Skip to content
gist.link ↗

workflow

Query Automate API — POST https://automate.api.gist.link/graphql

A single workflow by uuid. Any org member.

automate:query:workflow

The calling IAM key must hold this permission (or a wildcard that covers it: automate:query:* or automate:*) and the access token must have been minted with audience=automate. See Permissions.

type Query {
workflow(id: String!): Workflow
}
Argument Type Required Description
id String! Yes —

Workflow — see the Automate types reference.

Terminal window
curl https://automate.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query Workflow($id: String!) { workflow(id: $id) { id uuid name created_at updated_at } }",
"variables": {
"id": "example"
}
}
JSON