List groups for an audit
Retrieves groups population data for an audit.
This endpoint provides access to the group records visible to auditors during an audit engagement. Groups represent organizational units that contain people, either imported from an identity provider (IDP) or created manually in Vanta.
Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403.
Supports filtering by:
search: Searches group names (case-insensitive)sourcesMatchesAny: Filters by IDP source service names
Results are sorted by name (ascending) by default.
Use orderBy and orderDirection to customize sorting.
Sort parameters must remain consistent across paginated requests.
Uses cursor-based pagination. To paginate:
- Make initial request with desired
pageSize - Check
results.pageInfo.hasNextPage - Use
results.pageInfo.endCursoraspageCursorfor next request
Documentation Index
Fetch the complete documentation index at: https://developer.vanta.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The audit ID
Query Parameters
Maximum number of results per page (1-100, default 10) Controls the maximum number of items returned in one response from the API.
1 <= x <= 100Pagination cursor from previous response A marker or pointer, telling the API where to start fetching items for the subsequent page in a paginated dataset. Note that the requested page will not include the item that corresponds to this cursor but will start from the one immediately after this cursor.
Search term for filtering by group name
Filter groups by IDP source service names
Field to sort results by. Allowed: "name", "members", "source", "tasksLastUpdated", "pointOfContact". Default: "name"
name, members, source, tasksLastUpdated, pointOfContact Sort direction: "asc" or "desc". Default: "asc" Sort direction: "asc" for ascending, "desc" for descending.
asc, desc Response
Paginated list of groups with pagination metadata