Mutation
mutation CreateBoltScheduleDefinition($input: CreateBoltScheduleDefinitionInput!) {
createBoltScheduleDefinition(input: $input) {
schedule {
slug
name
schedule
timezone
environment {
slug
type
name
isDefault
branch
dbtVersion
}
gitBranch
}
}
}Variables
{
"input": {
"schedule": {
"name": "string",
"schedule": "string",
"environment": "string"
}
}
}Response
{
"data": {
"createBoltScheduleDefinition": {
"schedule": {
"slug": "string",
"name": "string",
"schedule": "string",
"timezone": "string",
"environment": {
"slug": "string",
"type": "SCHEDULER",
"name": "string",
"isDefault": true,
"branch": "string",
"dbtVersion": "string"
},
"gitBranch": "string"
}
}
}
}createBoltScheduleDefinition
Creates a schedule, as the UI does, and deploys it. Needs bolt:schedule:create.
MUTATION
createBoltScheduleDefinition(input: CreateBoltScheduleDefinitionInput!): CreateBoltScheduleDefinitionPayload!Arguments
input
required
The schedule to create.
schedule
The new schedule as stored, or the existing one when the same input was sent before.
Mutation
mutation CreateBoltScheduleDefinition($input: CreateBoltScheduleDefinitionInput!) {
createBoltScheduleDefinition(input: $input) {
schedule {
slug
name
schedule
timezone
environment {
slug
type
name
isDefault
branch
dbtVersion
}
gitBranch
}
}
}Variables
{
"input": {
"schedule": {
"name": "string",
"schedule": "string",
"environment": "string"
}
}
}Response
{
"data": {
"createBoltScheduleDefinition": {
"schedule": {
"slug": "string",
"name": "string",
"schedule": "string",
"timezone": "string",
"environment": {
"slug": "string",
"type": "SCHEDULER",
"name": "string",
"isDefault": true,
"branch": "string",
"dbtVersion": "string"
},
"gitBranch": "string"
}
}
}
}