Use the schedules API to run a deployed workflow on a recurring cron-based interval.All routes on this page require
x-api-key.
Callback behavior
Schedules create jobs in the future. Each schedule can carry its owncallback_url and callback_secret.
If a scheduled job has a callback configured, that per-job callback takes precedence over stored tenant webhook endpoints. Use schedule-level callbacks when you want recurring jobs to report to a specific endpoint.
POST /v1/schedules/create
Create a recurring schedule for a deployed workflow.
Request fields:
workflowparamscron_exprtimezone: optional, defaultUTCtimeout_seconds: optional, default900callback_url: optionalcallback_secret: optionalskip_callbacks: optional, defaultfalseresidential_proxy: optional residential proxy location objectenabled: optional, defaulttrue
callback_url, you must also set callback_secret.
Use residential_proxy for recurring workflows that need traffic to originate from a specific residential proxy country, US state, city, ZIP code, or ASN. See Residential proxy locations for the supported fields and combination rules.
Response fields:
successschedule
POST /v1/schedules/list
List schedules for the current tenant.
Request fields:
enabled: optional boolean filterworkflow: optional workflow-name filterlimit: optional page size, default50, max200
schedules
POST /v1/schedules/get
Fetch one schedule.
Request fields:
id
schedule
POST /v1/schedules/update
Update a schedule.
Request fields:
idparams: optionalcron_expr: optionaltimezone: optionaltimeout_seconds: optionalcallback_url: optional string ornullcallback_secret: optional string ornullskip_callbacks: optionalresidential_proxy: optional object ornullenabled: optional
callback_url and callback_secret to null.
To clear the configured residential proxy location, set residential_proxy to null.
Response fields:
schedule
POST /v1/schedules/delete
Delete a schedule.
Request fields:
id
successid
Shared schedule response shape
Theschedule object returned by the schedules endpoints includes:
idworkflowparamscron_exprtimezonetimeout_secondsresidential_proxycallback_urlskip_callbacksenablednext_fire_atlast_fire_atlast_job_idlast_errorconsecutive_failurescreated_atupdated_at
Webhooks
Compare stored tenant webhooks with schedule-level callbacks.
Deployments and Workflows
Manage the workflows that schedules invoke.
Libretto Cloud API overview
See the shared request format.