GitLab API icon

GitLab API

Gitlab

Actions1062

Clusters → getApiV4ProjectsIdClusters

AI-generated

Summary

Retrieve the Kubernetes clusters associated with a specified GitLab project by its ID or URL-encoded path.

Inputs

  • Id (required) — The ID or URL-encoded path of the GitLab project to fetch clusters for.
  • Page — The current page number of the results to retrieve, used for pagination.
  • Per_page — The number of cluster items to retrieve per page, used for pagination.
  • Skip Authentication — If set to true, the request will skip authentication (default is false).
  • baseUrl — Base URL of the GitLab instance; defaults to https://gitlab.com.
  • Method — HTTP method to use for the request; defaults to GET.

Output shape

a list of cluster objects associated with the given project, returned as paginated results if applicable

The output returns cluster details under the specified project path. Pagination is supported via 'page' and 'per_page' query parameters. Authentication is required unless skipped.

Links

Discussion