Skip to content

Create Schedule

POST
/api/v1/workflows/schedules

Create a schedule for a workflow template.

Validates that the template exists, then stores the schedule configuration. Does not create an actual Cloud Scheduler job (that is an infrastructure concern).

Authorizations

Request Body required

Request body for creating a template schedule.

Attributes: template_id: The template to schedule. cron_expression: Cron expression for the schedule. params: Parameters to pass on each execution. enabled: Whether the schedule is active.

object
cron_expression
required
string
enabled
boolean
default: true
params
object
key
additional properties
any
template_id
required
string

Responses

201

Successful Response

object
key
additional properties
any

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string