Run schedule now
run_schedule_nowFire a schedule ONCE, immediately, WITHOUT publishing — so you can test a draft before it goes live (parallels preview_dynamic_endpoint). Runs the version's workflow (omit version for the latest draft) and returns a reference to the workflow run it triggered; resolve its outcome with get_workflow_run. Unlike an automatic fire, this one is captured in FULL — output and traces intact — so it is also how you reproduce something a due firing only sampled. This executes the workflow (may have side effects).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | the schedule slug (provide this or schedule_id) | |
| version | No | specific version to fire; omit (0) for the latest version (the draft) | |
| schedule_id | No | the schedule id (provide this or slug) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| status | No | ||
| message | No | ||
| version | Yes | ||
| dispatched_at | Yes | ||
| scheduled_for | Yes |