Skip to content

Trigger Schedule Run

POST/v1/schedules/{schedule_id}/runs

Start a manual Run now and return 202 Accepted with a pending Run (trigger_source manual). Idempotency-Key is required. input, model, and model_provider override the saved values for this Run only. Only one Run per Schedule can be pending; another trigger returns 429 concurrency_limit.

Path parameters

stringschedule_idrequired

Schedule ID (sch_ prefix).

Headers

stringIdempotency-Keyrequired

1-128 characters, no leading or trailing whitespace. Reuse the same key and body when retrying; the same key with a different body returns 409.

Request body

JSON object. Send {} to use the saved input.

Optional<string>input

Overrides the saved input for this Run. The effective input must be non-empty.

Optional<string>model

Overrides the saved model for this Run.

Optional<object>model_provider

Model credential for this Run. Omit to use your calling API key.