Create a new scheduled session.
ManageOrgSchedules permission at the organization level.
schedule_type field controls whether the schedule is recurring or one-time:
recurring (default) — Requires the frequency field with a cron expressionone_time — Requires the scheduled_at field with an ISO 8601 datetime in the futurefrequency field accepts a standard cron expression (e.g., 0 9 * * 1-5 for weekdays at 9 AM UTC).
scheduled_at field accepts an ISO 8601 datetime with timezone (e.g., 2026-03-01T09:00:00Z). The datetime must be in the future. After execution, the schedule is automatically disabled.
| Agent | Description |
|---|---|
devin | Standard Devin agent (default) |
data_analyst | Data analyst agent |
advanced | Advanced agent |
create_as_user_id parameter allows creating a schedule on behalf of another user. This requires:
ImpersonateOrgSessions permissionUseDevinSessions permissionService User credential (prefix: cog_)
Successful Response
devin, data_analyst, advanced always, failure, never