Mutation
mutation TriggerBoltRun {
triggerBoltRun {
ok
runId
}
}Response
{
"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.
MUTATION
triggerBoltRun(branch: String, commands: [String!], prNumber: Int, reason: String, scheduleName: String, slug: String): TriggerBoltRunArguments
branch
String
commands
[String!]
prNumber
Int
reason
String
Optional freeform reason/label describing why or from where the run was triggered (e.g. the application that made the call).
scheduleName
String
deprecated
Deprecated alias for slug. Carries a slug, not a display name.
Use `slug` instead.
slug
String
The schedule slug returned by createBoltSchedule.
Returns
ok
Boolean!
runId
Int!
Mutation
mutation TriggerBoltRun {
triggerBoltRun {
ok
runId
}
}Response
{
"data": {
"triggerBoltRun": {
"ok": true,
"runId": 1
}
}
}Related topics
Bolt APIKeep Bolt schedules running past a failed commandBolt CLITriggersBolt Trigger Integrations