Skip to main content
POST
Creates a scheduled agent. When enabled is true the scheduler job is created atomically with the row: if the schedule cannot be created, nothing is persisted. The recommended order is to create with "enabled": false, prove the configuration with Run Now, then enable. A run-now executes the identical code path the cron tick takes, so a bad template or missing Slack target fails in front of you instead of silently at the scheduled hour. Required scope: sessions:write and an admin or owner role.

Request Body

string
required
Display name (1 to 128 characters).
string
required
5-field cron expression, evaluated in UTC. There is no per-agent time zone: 11am Pacific is 0 18 * * * during daylight time and 0 19 * * * in winter.
string
required
The prompt run on every tick. Runs are unattended (autopilot), so say exactly what to produce and in what shape.
string
Org template the session launches from.
string
default:"claude-code"
Coding agent harness.
string
Model override for the launched session.
boolean
default:"true"
Whether the schedule is live immediately.
string
Slack integration posting each run’s result. Must be set together with slack_channel_id.
string
Channel each run’s result is posted to. Must be set together with slack_integration_id.

Response

The created scheduled agent object with status 201.

Errors