Schedules
Run now
Run a schedule now.
Also served at /v1/schedules/{id}/execute. Runs the schedule’s workflow once, immediately, as a manual run. input replaces the schedule’s own input for this run. execution_id (= cln_workflow_id) is the id the executions, results and cancel routes take; run_id is the scheduler’s record, the id in /runs.
Authorizations
Authorization: Bearer ozk_…. ozk_ platform API key (Authorization: Bearer ozk_…)Path parameters
Body
application/jsontext/yaml
Available options: json, yaml, markdown, text
Response
The run was accepted Response format negotiates via the format field, an Accept header (application/json, text/yaml, text/markdown, text/plain), or the request Content-Type mirror; default JSON.
application/jsontext/yamltext/markdowntext/plain
invalid_json / invalid_yaml / invalid_body — unreadable body; invalid_format — format must be one of json, yaml, markdown, text
application/json
unauthorized — missing, invalid or revoked ozk_ key
application/json
schedule_not_found — no schedule with that id for this key (a foreign, missing or deleted id answers alike); not_found — no route for this method on this path: every other method answers it
application/json
invalid_params — a field is missing or malformed (the envelope names it); nothing was written
application/json
scheduler_error — the scheduler failed or did not answer; no detail is returned, retry
application/json