GitLab API

GitlabTool

Actions1095

Clusters → getApiV4AdminClustersClusterId

AI-generated

Summary

Retrieve details for a specific GitLab cluster by its cluster ID using the Admin Clusters API endpoint.

Inputs

  • cluster_id (required) — The ID of the GitLab cluster to retrieve details for.
  • Skip Authentication — If set to true, skips authenticating the request (default is false).
  • baseUrl — The base URL of the GitLab instance (defaults to 'https://gitlab.com').
  • Method — HTTP method to use (defaults to GET; typically GET is used for this operation).

Output shape

a single record representing the cluster details

Returns the cluster information retrieved from the /api/v4/admin/clusters/{cluster_id} endpoint. Authentication is required unless 'Skip Authentication' is enabled. The cluster_id path parameter is mandatory.

Links

Discussion