GET
/
api
/
v2
/
enterprise
/
organizations
curl -X GET "https://api.devin.ai/api/v2/enterprise/organizations" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "items": [
    {
      "org_admin_count": 3,
      "org_id": "org_123",
      "org_member_count": 25,
      "org_name": "Engineering Team",
      "org_user_count": 25,
      "max_cycle_acu_limit": 1000,
      "max_session_acu_limit": 50
    },
    {
      "org_admin_count": 2,
      "org_id": "org_456",
      "org_member_count": 12,
      "org_name": "Product Team",
      "org_user_count": 12,
      "max_cycle_acu_limit": null,
      "max_session_acu_limit": 25
    },
    {
      "org_admin_count": 1,
      "org_id": "org_789",
      "org_member_count": 8,
      "org_name": "Design Team",
      "org_user_count": 8,
      "max_cycle_acu_limit": 500,
      "max_session_acu_limit": null
    }
  ],
  "total": 3,
  "skip": 0,
  "limit": 100,
  "has_more": false,
  "next_cursor": null
}

Returns a paginated list of all organizations within your enterprise.

Query Parameters

skip
integer
default:"0"

Number of organizations to skip for pagination. Must be >= 0.

limit
integer
default:"100"

Maximum number of organizations to return. Must be between 1 and 1000.

Response

items
array
required

Array of organization objects

total
integer
required

Total number of organizations in the enterprise

skip
integer
required

Number of organizations skipped

limit
integer
required

Maximum number of organizations returned

has_more
boolean
required

Whether there are more organizations available

next_cursor
integer

Cursor for the next page of results

curl -X GET "https://api.devin.ai/api/v2/enterprise/organizations" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "items": [
    {
      "org_admin_count": 3,
      "org_id": "org_123",
      "org_member_count": 25,
      "org_name": "Engineering Team",
      "org_user_count": 25,
      "max_cycle_acu_limit": 1000,
      "max_session_acu_limit": 50
    },
    {
      "org_admin_count": 2,
      "org_id": "org_456",
      "org_member_count": 12,
      "org_name": "Product Team",
      "org_user_count": 12,
      "max_cycle_acu_limit": null,
      "max_session_acu_limit": 25
    },
    {
      "org_admin_count": 1,
      "org_id": "org_789",
      "org_member_count": 8,
      "org_name": "Design Team",
      "org_user_count": 8,
      "max_cycle_acu_limit": 500,
      "max_session_acu_limit": null
    }
  ],
  "total": 3,
  "skip": 0,
  "limit": 100,
  "has_more": false,
  "next_cursor": null
}