Skip to content
gist.link ↗

run

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

A single run by uuid, including its step executions. Any org member.

automate:query:run

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 {
run(id: String!): Run
}
Argument Type Required Description
id String! Yes —

Run — 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 Run($id: String!) { run(id: $id) { id uuid status created_at } }",
"variables": {
"id": "example"
}
}
JSON