Create schedule
Schedules (Organization)
Create schedule
Create a new scheduled session.
POST
Create schedule
Documentation Index
Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
Use this file to discover all available pages before exploring further.
Permissions
Requires a service user with theManageOrgSchedules permission at the organization level.
Schedule type
Theschedule_type field controls whether the schedule is recurring or one-time:
recurring(default) — Requires thefrequencyfield with a cron expressionone_time— Requires thescheduled_atfield with an ISO 8601 datetime in the future
Frequency
For recurring schedules, thefrequency field accepts a standard cron expression (e.g., 0 9 * * 1-5 for weekdays at 9 AM UTC).
Scheduled at
For one-time schedules, thescheduled_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 types
| Agent | Description |
|---|---|
devin | Standard Devin agent (default) |
data_analyst | Data analyst agent |
advanced | Advanced agent |
User impersonation
Thecreate_as_user_id parameter allows creating a schedule on behalf of another user. This requires:
- The service user must have
ImpersonateOrgSessionspermission - The target user must be a member of the organization
- The target user must have
UseDevinSessionspermission
Authorizations
Service User credential (prefix: cog_)
Body
application/json
Available options:
devin, data_analyst Available options:
always, failure, never Available options:
recurring, one_time Response
Successful Response
Available options:
devin, data_analyst Available options:
always, failure, never Available options:
recurring, one_time 