Skip to content
gist.link ↗

replayRun

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

Re-runs a prior run’s trigger payload as a brand new Run. Authenticated org member.

automate:mutation:replayRun

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

type Mutation {
replayRun(runId: String!): Run!
}
Argument Type Required Description
runId 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": "mutation ReplayRun($runId: String!) { replayRun(runId: $runId) { id uuid status created_at } }",
"variables": {
"runId": "example"
}
}
JSON