GitLab API

GitlabTool

Actions1095

Clusters → getApiV4GroupsIdClusters

AI-generated

Summary

Retrieve a paginated list of clusters for a specified GitLab group by its ID.

Inputs

  • Id (required) — The ID of the GitLab group for which to fetch clusters.
  • Page — The page number of the results to retrieve, defaulting to 1 if not set.
  • Per_page — The number of cluster items to return per page, defaulting to 20 if not set.
  • Skip Authentication — If set to true, the request will bypass authentication; otherwise, standard GitLab API authentication is used.
  • Authentication — The GitLab API authentication credentials to use for the request (hidden if skip authentication is true).
  • BaseUrl — The base URL of the GitLab instance, defaulting to 'https://gitlab.com'.

Output shape

a list of cluster objects associated with the specified group

Results are paginated according to 'page' and 'per_page' query parameters. If authentication is skipped, the API may return limited or no data depending on GitLab's access rules.

Links

Discussion