GitLab API icon

GitLab API

Gitlab

Actions1062

Cluster_agents → getApiV4ProjectsIdClusterAgentsAgentId

AI-generated

Summary

Retrieve details of a specific cluster agent within a GitLab project by providing the project ID or URL-encoded path and the agent's ID.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project containing the cluster agent.
  • agent_id (required) — The numeric ID of the cluster agent to retrieve.
  • Skip Authentication — Optionally skip authenticating the request (default is false).
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.

Output shape

a single object representing the cluster agent's details

Returns the data of the specified cluster agent if found; authentication is required unless explicitly skipped. Path parameters 'id' and 'agent_id' are required.

Links

Discussion