Skip to main content
GET
/
v3beta1
/
organizations
/
{org_id}
/
schedules
List schedules
curl --request GET \
  --url https://api.devin.ai/v3beta1/organizations/{org_id}/schedules \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "agent": "devin",
      "consecutive_failures": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "created_by": "<string>",
      "enabled": true,
      "frequency": "<string>",
      "last_error_at": "2023-11-07T05:31:56Z",
      "last_error_message": "<string>",
      "last_executed_at": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "notify_on": "always",
      "org_id": "<string>",
      "playbook": {
        "playbook_id": "<string>",
        "title": "<string>"
      },
      "prompt": "<string>",
      "scheduled_session_id": "<string>",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "end_cursor": "<string>",
  "has_next_page": false,
  "total": 123
}

Permissions

Requires a service user with the ManageOrgSchedules permission at the organization level.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Query Parameters

limit
integer
default:50
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0

Response

Successful Response

items
ScheduleResponse · object[]
required
end_cursor
string | null

Cursor to fetch the next page, or None if this is the last page.

has_next_page
boolean
default:false

Whether there are more items available after this page.

total
integer | null

Optional total count (can be omitted for performance).