Update or pause a schedule
update_scheduleChange a schedule; only the fields you give change. Needs an administrator key. Set enabled to false to pause it and to true to resume it (resuming clears the failures that paused it). A new timetable counts from now.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The schedule's id (sch_…), as returned by create_schedule or list_schedules. | |
| cron | No | Five fields (minute hour day-of-month month day-of-week) or a descriptor such as @daily or @every 15m. | |
| name | No | A label for the schedule. | |
| input | No | Any JSON the agent receives as its input on every start (maximum 1 MiB). | |
| enabled | No | false pauses the schedule, true resumes it. | |
| timezone | No | IANA time zone name, such as Europe/Madrid. | |
| workflow | No | Name of the saved workflow to run. | |
| max_cost_micros | No | Cost cap of each run, in millionths of a dollar. | |
| skip_if_running | No | Skip a start while the previous run is still going. |