GitLab API icon

GitLab API

Gitlab

Actions1062

Clusters → getApiV4GroupsIdClustersClusterId

AI-generated

Summary

Retrieve the details of a specific Kubernetes cluster associated with a GitLab group by providing the group ID and the cluster ID.

Inputs

  • Id (required) — The ID of the GitLab group to which the cluster belongs.
  • Cluster_id (required) — The unique identifier of the Kubernetes cluster within the group.
  • Skip Authentication — Optionally skip authentication when making the request (default is false).
  • baseUrl — The base URL of the GitLab instance, defaulting to https://gitlab.com.

Output shape

a single JSON object representing the cluster's details

Returns detailed information about the specified cluster. Authentication is used by default unless explicitly skipped. The request is an HTTP GET to the path /api/v4/groups/{id}/clusters/{cluster_id} with path parameters 'id' and 'cluster_id' supplied by the user.

Links

Discussion