GET
/
v2
/
enterprise
/
groups
/
{group_name}
/
organizations
curl -X GET "https://api.devin.ai/v2/enterprise/groups/Engineering/organizations" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "items": [
    {
      "org_id": "org_123",
      "org_name": "Engineering Team",
      "org_admin_count": 5,
      "org_member_count": 25,
      "org_user_count": 30,
      "max_cycle_acu_limit": 1000,
      "max_session_acu_limit": 50
    },
    {
      "org_id": "org_456",
      "org_name": "Product Development",
      "org_admin_count": 3,
      "org_member_count": 15,
      "org_user_count": 18,
      "max_cycle_acu_limit": null,
      "max_session_acu_limit": null
    }
  ],
  "total": 3,
  "skip": 0,
  "limit": 50,
  "has_more": false,
  "next_cursor": null
}
Returns a paginated list of organizations that the specified IdP (Identity Provider) group has access to.
IdP groups must be explicitly enabled for your enterprise and are only supported for some enterprise SSO connections. Contact your administrator to enable group support.

Path Parameters

group_name
string
required
The name of the group to get organizations for

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 the group belongs to
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/v2/enterprise/groups/Engineering/organizations" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "items": [
    {
      "org_id": "org_123",
      "org_name": "Engineering Team",
      "org_admin_count": 5,
      "org_member_count": 25,
      "org_user_count": 30,
      "max_cycle_acu_limit": 1000,
      "max_session_acu_limit": 50
    },
    {
      "org_id": "org_456",
      "org_name": "Product Development",
      "org_admin_count": 3,
      "org_member_count": 15,
      "org_user_count": 18,
      "max_cycle_acu_limit": null,
      "max_session_acu_limit": null
    }
  ],
  "total": 3,
  "skip": 0,
  "limit": 50,
  "has_more": false,
  "next_cursor": null
}