GitLab API

GitlabTool

Actions1095

Projects → getApiV4ProjectsIdGroups

AI-generated

Summary

Retrieve groups associated with a specified GitLab project using its ID or URL-encoded path, with optional filtering and pagination.

Inputs

  • Id (required) — The ID or URL-encoded path of the project to query groups for.
  • Search — Filter groups by name matching the search criteria.
  • Skip_groups — Comma-separated list of group IDs to exclude from the results.
  • With_shared — Boolean flag to include shared groups in the results (default false).
  • Shared_visible_only — Boolean flag to limit results to shared groups the user has access to (default false).
  • Shared_min_access_level — Minimum access level number to filter shared groups by user permissions.
  • Page — Page number for paginated results (default 1).
  • Per_page — Number of groups returned per page (default 20).

Output shape

a list of groups associated with the specified GitLab project

The output may be paginated according to the 'Page' and 'Per_page' input parameters. Filters applied via query parameters affect which groups are included in the list. Authentication is required unless explicitly skipped via 'Skip Authentication'.

Links

Discussion