mutation TriggerBoltRun {
triggerBoltRun {
ok
runId
}
}{
"data": {
"triggerBoltRun": {
"ok": true,
"runId": 1
}
}
}triggerBoltRun
Trigger a bolt run by schedule slug.
Identify the schedule with slug (preferred) or scheduleName (deprecated
alias kept for backwards compatibility with older SDKs — both fields carry a
slug, not a display name). Exactly one of the two must be provided.
triggerBoltRun(branch: String, commandConfigs: [BoltCommandInput!], commands: [String!], continueOnError: Boolean, prNumber: Int, reason: String, scheduleName: String, slug: String): TriggerBoltRunArguments
Ad-hoc command override with per-command settings (e.g. continueOnError). Provide at most one of commands or commandConfigs.
Ad-hoc command override. Provide at most one of commands or commandConfigs; omit both to run the schedule's own commands.
Run-level default for continuing past a failed command; overrides the schedule-level setting for this run only.
Optional freeform reason/label describing why or from where the run was triggered (e.g. the application that made the call).
Deprecated alias for slug. Carries a slug, not a display name.
The schedule slug returned by createBoltSchedule.
Returns
mutation TriggerBoltRun {
triggerBoltRun {
ok
runId
}
}{
"data": {
"triggerBoltRun": {
"ok": true,
"runId": 1
}
}
}