Retrieve grouped identities, ungrouped users, and system identities for explorer views
- Groups return in path-tree order (
external_idsplit by/).limit_groupsandoffset_groupsslice unbroken tree chunks. include_members=falsereturns groups with counts only.searchmatches multiple words in any order, accent-insensitive, across name, external ID, username, email and description.member_id[](max 100),source[],managedandwithin_group_idnarrow returned groups and members.
Parameters
Audience scope (human|system). Default human
Search words, matched one by one in any order and without accents. A person answers when every word is in their display name, external id, username, email or description, or in those of the group they are shown in. A group answers when every word is in its own fields.
Maximum number of groups (default: 100, max: 5000)
Maximum members per group (default: 200, max: 1000)
Maximum ungrouped/system identities (default: 500, max: 2000)
Number of ungrouped users to skip before the returned page (default: 0)
Number of groups to skip before the returned page, in tree order (default 0). The tree is the external_id split by "/": a group comes right before the groups whose path starts with its path, and groups of one folder follow their names. With limit_groups each page is one unbroken piece of the tree. Summary.groups_total says how many groups there are.
true returns only the page of people without a group and the summary, no groups and no group members.
Include group member rows. Defaults to true for backward compatibility
Return each member once in the top-level members dictionary and group membership as member_ids
Include members only for the group with this exact external ID
Only the groups where these people (UUIDs, up to 100) are direct members, each with only these people as members. Shows the groups of a person or of a page of people.
Only the groups with members from these connector sources, and only those members
Only the groups with members of this managed status, and only those members
Only this group (UUID), the groups under its path and the groups nested in them as members. Shows who a group reaches through its subgroups.
Responses
OK
IdentityGraphResponse · 6 fields
18 fields
usergroupserviceProvider-confirmed account classification. Absent when unknown.
User email from identity metadata.
Provider avatar URL from identity metadata.
True for a user an application uses instead of a person. Absent for people, groups and service identities.
12 fields
usergroupserviceProvider-confirmed account classification. Absent when unknown.
User email from identity metadata.
Provider avatar URL from identity metadata.
True for a user an application uses instead of a person. Absent for people, groups and service identities.
References into the top-level members dictionary in compact mode.
Direct members of the group before pagination: users, service accounts and nested groups, without GitLab access-token bots. The same number as members_count of GET /identities and GET /identities/{id}. Members and member_ids list these members with their kind.
Members the group reaches only through its nested groups, at any depth: users, service accounts and the nested groups themselves, without GitLab access-token bots and without the group's own direct members. It counts groups too. People_through_subgroups_count counts people only. The same number as members_through_subgroups_count of GET /identities/{id}.
People the group reaches only through its nested groups, at any depth: users (a user marked as a service account too), each once, without groups, without identities of kind service, without GitLab access-token bots and without the group's own direct members. A person who is a direct member and also in a nested group is counted in direct_people_count only.
Direct members of the group that are people: users (a user marked as a service account too), without nested groups, identities of kind service and GitLab access-token bots. The members the People board lists as people of the group.
Deduplicated member dictionary populated in compact mode.
12 fields
usergroupserviceProvider-confirmed account classification. Absent when unknown.
User email from identity metadata.
Provider avatar URL from identity metadata.
True for a user an application uses instead of a person. Absent for people, groups and service identities.
4 fields
People in no group who match the search, without the token bots the console hides (GitLab project and group access token bots, GitHub [bot] logins and GitHub accounts the connector classified as bots). ungrouped_users leaves the same bots out, so offset_ungrouped pages through exactly this many people.
12 fields
usergroupserviceProvider-confirmed account classification. Absent when unknown.
User email from identity metadata.
Provider avatar URL from identity metadata.
True for a user an application uses instead of a person. Absent for people, groups and service identities.
One page of the people in no group, without the token bots the console hides.
12 fields
usergroupserviceProvider-confirmed account classification. Absent when unknown.
User email from identity metadata.
Provider avatar URL from identity metadata.
True for a user an application uses instead of a person. Absent for people, groups and service identities.
Common errors: 400 401 403 429 504. They mean the same for every operation, see Errors.