Skip to main content
PATCH
Update a schedule
Send only what you want to change: cron or every, timezone, inputs, enabled, webhook_url ("" removes it), and, for a skill schedule only, max_results, delivery, notify_on, and watch. A workflow schedule refuses those four with 422. enabled: false pauses it; runs missed while paused are not made up later. What delivery, notify_on, and watch do is in Only what’s new. Needs skills:write (skill schedule) or workflows:write (workflow schedule). Switching a workflow schedule on also needs workflows:invoke. MCP tool: update_schedule.

Authorizations

Authorization
string
header
required

API key with the vd_sk_ prefix, as Authorization: Bearer vd_sk_.... Create keys in Settings → API Keys.

Headers

Idempotency-Key
string

Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) and does nothing twice; the same key with a different request is a 422 idempotency_key_reused.

Required string length: 1 - 255

Path Parameters

schedule_id
string
required

Body

application/json

PATCH /v1/schedules/{id}: only what is sent changes. max_results and the "only what's new" settings (delivery, notify_on, watch, webhook_url) are a skill schedule's; a workflow schedule refuses them.

delivery
enum<string> | null

Rows each run's result carries: all (default), new, or changes (new + changed)

Available options:
all,
new,
changes
notify_on
enum<string> | null

When to send the webhook and tell you: every_run (default), changes, never

Available options:
every_run,
changes,
never
watch
string[] | null

Fields whose change counts, e.g. ['price:down']; [] = every field

webhook_url
string | null

A public http(s) URL that gets every fired run when it ends: a signed POST, event schedule.run_finished, the body being what GET /v1/runs/{run_id} answers plus schedule_id. '' removes it.

Maximum string length: 2000
browser_type
string | null

The browser every scheduled run uses: remote (or cloud) or extension (your own Chrome). auto, or left out: its own browser, else the cloud browser. It never changes by itself: a run whose browser is unavailable fails with the reason, nothing charged, and you are told.

cron
string | null
every
string | null
timezone
string | null
inputs
Inputs · object | null
enabled
boolean | null
max_results
integer | null
Required range: 0 <= x <= 500

Response

The schedule after the change.

id
string
required
workflow_id
string
required
workflow_slug
string
required
enabled
boolean
required
frequency
string | null
required

The canonical frequency, e.g. cron:0 9 * * 1 or daily:02:00.

kind
string
default:workflow
cron
string | null
every
string | null
timezone
string
default:UTC
inputs
Inputs · object
browser_type
string | null

remote | extension every browser step of a fired run uses; null = each step's own

webhook_url
string | null

Where every fired run is POSTed when it ends

next_run_at
string | null
last_run_at
string | null
created_at
string | null