GET
/
api
/
v2
/
enterprise
/
groups
/
{group_name}
curl -X GET "https://api.devin.ai/api/v2/enterprise/groups/Engineering" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "group_name": "Engineering",
  "org_count": 3,
  "role_by_org_id": {
    "org_123": "admin",
    "org_456": "member",
    "org_789": "admin"
  }
}

Returns detailed information about a specific enterprise IdP (Identity Provider) group, including its organization associations and roles.

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 retrieve details for

Response

group_name
string
required

Name of the group

org_count
integer
required

Number of organizations this group belongs to

role_by_org_id
object
required

Mapping of organization IDs to roles (admin or member)

curl -X GET "https://api.devin.ai/api/v2/enterprise/groups/Engineering" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "group_name": "Engineering",
  "org_count": 3,
  "role_by_org_id": {
    "org_123": "admin",
    "org_456": "member",
    "org_789": "admin"
  }
}