Create Schedule
/v1/schedulesCreate a Schedule that runs a pinned Agent version on a cron expression. Idempotency-Key is required. The model credential (model_provider, or your calling API key) is stored encrypted and used for every scheduled run.
Headers
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
Strict JSON object.
Up to 200 characters.
Saved Agent ID. The Agent must be active and ready.
Agent version to pin. Omit to pin the current version at creation time.
Input sent on every run. Required and non-empty, up to 256 KiB.
Up to 16384 characters.
Default model override.
{"cron": "<5-field cron>", "timezone": "<IANA name>"}. timezone defaults to UTC. Seconds are not supported; an expression with no match in the next 366 days returns 400.
Model credential stored encrypted for scheduled runs. Omit to store your calling API key.