- API Reference
- endpoint
- Workflows
Workflows Schedules
Workflows Schedules
GET /v1/workflows/schedules
Get Schedules
Get Schedules
Parameters
workflow_name
string | nullqueryFilter by exact workflow name
user_id
string | nullqueryFilter by user ID. Pass 'current' to resolve to the authenticated user's ID.
status
"active" | "paused"queryFilter by schedule status: 'active' or 'paused'
search
string | nullqueryFuzzy search query for workflow name, display name, description, or ID
page_size
integer | nullqueryNumber of items per page. Omitting this parameter fetches all results at once (deprecated — pass page_size to use pagination).
next_page_token
string | nullqueryToken for the next page of results
Responses
Successful Response
next_page_token
string | nullToken for the next page of results
A list of workflow schedules
ScheduleDefinitionOutput
Output representation of a schedule with required schedule_id.
Used when returning schedules from the API where schedule_id is always present.
calendars
array<ScheduleCalendar>Calendar-based specification of times.
ScheduleCalendar
comment
string | nullday_of_month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
day_of_week
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
hour
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
minute
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
second
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
year
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
cron_expressions
array<string>Cron-based specification of times.
deployment_name
string | nullName of the deployment this schedule targets.
end_at
date-time | nullTime after which no more actions will be run.
future_executions
array<ScheduleFutureExecution>Upcoming scheduled executions (10 next executions, earliest first).
ScheduleFutureExecution
scheduled_at
date-time* requiredTime the execution is scheduled to run.
input
any* requiredInput to provide to the workflow when starting it.
intervals
array<ScheduleInterval>Interval-based specification of times.
ScheduleInterval
every
string* requiredoffset
string | nulljitter
string | nullJitter to apply each action.
An action's scheduled time will be incremented by a random value between 0 and this value if present (but not past the next schedule).
note
string | nullHuman-readable note associated with the current pause or resume state.
paused
boolean* requiredWhether the schedule is currently paused.
policy
SchedulePolicySchedulePolicy
catchup_window_seconds
integerAfter a Temporal server is unavailable, amount of time in seconds in the past to execute missed actions.
Default Value: 31536000
overlap
"1" | "2" | "3" | "4" | "5" | "6"Controls what happens when a workflow would be started by a schedule but one is already running.
pause_on_failure
booleanWhether to pause the schedule after a workflow failure.
Default Value: false
recent_executions
array<ScheduleRecentExecution>Most recent scheduled executions (10 most recent, newest last).
ScheduleRecentExecution
execution_id
string* requiredID of the workflow execution that was started.
scheduled_at
date-time* requiredTime the execution was scheduled to run.
started_at
date-time* requiredActual time the execution started.
remaining_executions
integer | nullRemaining workflow executions before this schedule stops triggering automatically. null means unlimited; 0 means the limit has been reached and the schedule is exhausted.
schedule_id
string* requiredUnique identifier for the schedule.
skip
array<ScheduleCalendar>Calendar-based specification of times.
ScheduleCalendar
comment
string | nullday_of_month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
day_of_week
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
hour
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
minute
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
second
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
year
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
start_at
date-time | nullTime after which the first action may be run.
time_zone_name
string | nullIANA time zone name, for example US/Central.
user_id
string | nullID of the user who created the schedule.
workflow_name
string* requiredName of the workflow this schedule triggers.
POST /v1/workflows/schedules
Schedule Workflow
Schedule Workflow
Request Example
{
"schedule": {
"input": null
}
}
Request Body
deployment_name
string | nullName of the deployment to route this schedule to
Specification of the times scheduled actions may occur.
The times are the union of :py:attr:calendars, :py:attr:intervals, and :py:attr:cron_expressions excluding anything in :py:attr:skip.
Used for input where schedule_id is optional (can be provided or auto-generated).
ScheduleDefinition
Specification of the times scheduled actions may occur.
The times are the union of :py:attr:calendars, :py:attr:intervals, and :py:attr:cron_expressions excluding anything in :py:attr:skip.
Used for input where schedule_id is optional (can be provided or auto-generated).
calendars
array<ScheduleCalendar>Calendar-based specification of times.
ScheduleCalendar
comment
string | nullday_of_month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
day_of_week
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
hour
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
minute
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
second
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
year
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
cron_expressions
array<string>Cron-based specification of times.
end_at
date-time | nullTime after which no more actions will be run.
input
any* requiredInput to provide to the workflow when starting it.
intervals
array<ScheduleInterval>Interval-based specification of times.
ScheduleInterval
every
string* requiredoffset
string | nulljitter
string | nullJitter to apply each action.
An action's scheduled time will be incremented by a random value between 0 and this value if present (but not past the next schedule).
max_executions
integer | nullMaximum number of times this schedule will trigger a workflow execution. Once this limit is reached, no further executions are triggered automatically. null means unlimited.
policy
SchedulePolicySchedulePolicy
catchup_window_seconds
integerAfter a Temporal server is unavailable, amount of time in seconds in the past to execute missed actions.
Default Value: 31536000
overlap
"1" | "2" | "3" | "4" | "5" | "6"Controls what happens when a workflow would be started by a schedule but one is already running.
pause_on_failure
booleanWhether to pause the schedule after a workflow failure.
Default Value: false
schedule_id
string | nullUnique identifier for the schedule.
skip
array<ScheduleCalendar>Calendar-based specification of times.
ScheduleCalendar
comment
string | nullday_of_month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
day_of_week
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
hour
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
minute
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
second
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
year
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
start_at
date-time | nullTime after which the first action may be run.
time_zone_name
string | nullIANA time zone name, for example US/Central.
schedule_id
string | nullAllows you to specify a custom schedule ID. If not provided, a random ID will be generated.
workflow_identifier
string | nullThe name or ID of the workflow to schedule
workflow_registration_id
string | nullThe ID of the workflow registration to schedule
workflow_task_queue
string | nullDeprecated. Use deployment_name instead.
workflow_version_id
string | nullDeprecated: use workflow_registration_id
Server-Side Events
Successful Response
schedule_id
string* requiredThe ID of the schedule
GET /v1/workflows/schedules/{schedule_id}
Get Schedule
Get Schedule
Parameters
schedule_id
stringpath* requiredResponses
Successful Response
calendars
array<ScheduleCalendar>Calendar-based specification of times.
ScheduleCalendar
comment
string | nullday_of_month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
day_of_week
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
hour
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
minute
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
second
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
year
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
cron_expressions
array<string>Cron-based specification of times.
deployment_name
string | nullName of the deployment this schedule targets.
end_at
date-time | nullTime after which no more actions will be run.
future_executions
array<ScheduleFutureExecution>Upcoming scheduled executions (10 next executions, earliest first).
ScheduleFutureExecution
scheduled_at
date-time* requiredTime the execution is scheduled to run.
input
any* requiredInput to provide to the workflow when starting it.
intervals
array<ScheduleInterval>Interval-based specification of times.
ScheduleInterval
every
string* requiredoffset
string | nulljitter
string | nullJitter to apply each action.
An action's scheduled time will be incremented by a random value between 0 and this value if present (but not past the next schedule).
note
string | nullHuman-readable note associated with the current pause or resume state.
paused
boolean* requiredWhether the schedule is currently paused.
policy
SchedulePolicySchedulePolicy
catchup_window_seconds
integerAfter a Temporal server is unavailable, amount of time in seconds in the past to execute missed actions.
Default Value: 31536000
overlap
"1" | "2" | "3" | "4" | "5" | "6"Controls what happens when a workflow would be started by a schedule but one is already running.
pause_on_failure
booleanWhether to pause the schedule after a workflow failure.
Default Value: false
recent_executions
array<ScheduleRecentExecution>Most recent scheduled executions (10 most recent, newest last).
ScheduleRecentExecution
execution_id
string* requiredID of the workflow execution that was started.
scheduled_at
date-time* requiredTime the execution was scheduled to run.
started_at
date-time* requiredActual time the execution started.
remaining_executions
integer | nullRemaining workflow executions before this schedule stops triggering automatically. null means unlimited; 0 means the limit has been reached and the schedule is exhausted.
schedule_id
string* requiredUnique identifier for the schedule.
skip
array<ScheduleCalendar>Calendar-based specification of times.
ScheduleCalendar
comment
string | nullday_of_month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
day_of_week
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
hour
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
minute
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
second
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
year
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
start_at
date-time | nullTime after which the first action may be run.
time_zone_name
string | nullIANA time zone name, for example US/Central.
user_id
string | nullID of the user who created the schedule.
workflow_name
string* requiredName of the workflow this schedule triggers.
DELETE /v1/workflows/schedules/{schedule_id}
Unschedule Workflow
Unschedule Workflow
Parameters
schedule_id
stringpath* requiredPATCH /v1/workflows/schedules/{schedule_id}
Update Schedule
Update Schedule
Parameters
schedule_id
stringpath* requiredRequest Example
{
"schedule": {}
}
Request Body
Schedule definition for partial updates.
All fields are optional (inherited from _ScheduleRequestBase). Only explicitly-set fields are applied during an update; unset fields preserve the existing schedule values.
PartialScheduleDefinition
Schedule definition for partial updates.
All fields are optional (inherited from _ScheduleRequestBase). Only explicitly-set fields are applied during an update; unset fields preserve the existing schedule values.
calendars
array<ScheduleCalendar>Calendar-based specification of times.
ScheduleCalendar
comment
string | nullday_of_month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
day_of_week
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
hour
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
minute
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
second
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
year
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
cron_expressions
array<string>Cron-based specification of times.
end_at
date-time | nullTime after which no more actions will be run.
input
anyInput to provide to the workflow when starting it.
intervals
array<ScheduleInterval>Interval-based specification of times.
ScheduleInterval
every
string* requiredoffset
string | nulljitter
string | nullJitter to apply each action.
An action's scheduled time will be incremented by a random value between 0 and this value if present (but not past the next schedule).
max_executions
integer | nullMaximum number of times this schedule will trigger a workflow execution. Once this limit is reached, no further executions are triggered automatically. null means unlimited.
policy
SchedulePolicySchedulePolicy
catchup_window_seconds
integerAfter a Temporal server is unavailable, amount of time in seconds in the past to execute missed actions.
Default Value: 31536000
overlap
"1" | "2" | "3" | "4" | "5" | "6"Controls what happens when a workflow would be started by a schedule but one is already running.
pause_on_failure
booleanWhether to pause the schedule after a workflow failure.
Default Value: false
skip
array<ScheduleCalendar>Calendar-based specification of times.
ScheduleCalendar
comment
string | nullday_of_month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
day_of_week
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
hour
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
minute
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
month
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
second
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
year
array<ScheduleRange>ScheduleRange
end
integerDefault Value: 0
start
integer* requiredstep
integerDefault Value: 0
start_at
date-time | nullTime after which the first action may be run.
time_zone_name
string | nullIANA time zone name, for example US/Central.
Responses
Successful Response
schedule_id
string* requiredThe ID of the schedule
POST /v1/workflows/schedules/{schedule_id}/pause
Pause Schedule
Pause Schedule
Parameters
schedule_id
stringpath* requiredRequest Example
null
Request Body
WorkflowSchedulePauseRequest
note
string | nullOptional note recorded in Temporal when pausing or resuming a schedule
POST /v1/workflows/schedules/{schedule_id}/resume
Resume Schedule
Resume Schedule
Parameters
schedule_id
stringpath* requiredRequest Example
null
Request Body
WorkflowSchedulePauseRequest
note
string | nullOptional note recorded in Temporal when pausing or resuming a schedule
POST /v1/workflows/schedules/{schedule_id}/trigger
Trigger Schedule
Trigger Schedule
Parameters
schedule_id
stringpath* requiredRequest Example
null
Request Body
WorkflowScheduleTriggerRequest
overlap
"1" | "2" | "3" | "4" | "5" | "6"Controls what happens when a workflow would be started by a schedule but one is already running.