Skip to main content
A schedule sends a message to an agent later, either once or on a repeat: check a queue every morning, prepare a weekly digest, follow up in three days. For a check-back under four hours, agents call wait instead. Timing is once with an RFC 3339 runAt, which fires right away if it’s already past, or repeated with a five-field cron and an IANA timezone. A fired one-off sets completedAt and enabled: false. The target is either { "mode": "spawn" }, a fresh thread per fire, or { "mode": "thread", "threadId": "..." }, a thread the agent already owns. Each fire uses the agent’s configuration as it is at that moment. A fire is skipped while the previous scheduled turn is still running or the identity is disabled. Out of credits, repeated fires skip too, while a one-off fires and its turn waits for them. A schedule that can’t run again is switched off with a disabledReason. Profiles carry schedule templates, which become spawn schedules on every agent created from them; later profile edits don’t touch existing agents. on_create fires once at creation, and an H in the minute field becomes a per-agent minute. Slack setup seeds routines this way: schedules whose message, Run routines:<id>., has the agent follow that routines: skill.
Belongs to one agent · At most 256 kept, 64 active · Timing is once or repeated · Paused with enabled: false

Rules

  • Overlapping fires are skipped, never queued behind each other. See Rules.
  • Each create first deletes the agent’s one-offs that finished over 30 days ago, and at 256 the oldest finished ones.

API

  • GET/POST /v1/agents/{agentId}/schedules. POST needs an Idempotency-Key; reusing one with different fields is rejected. Filter the list with kind=once|repeated; limit maxes out at 100.
  • GET/PATCH/DELETE /v1/schedules/{scheduleId}.