GitLab API icon

GitLab API

Gitlab

Actions1062

Cluster_agents → getApiV4ProjectsIdClusterAgents

AI-generated

Summary

Retrieve a paginated list of cluster agents associated with a specific GitLab project by project ID or URL-encoded path.

Inputs

  • id (required) — The ID or URL-encoded path of the project to retrieve cluster agents for.
  • page — The page number of results to return, for pagination purposes (default is 1).
  • per_page — The number of cluster agent items to return per page (default is 20).
  • skipAuthentication — Whether to skip authentication for the request (default is false).
  • baseUrl — The base URL of the GitLab instance (default is https://gitlab.com).

Output shape

a paginated list of cluster agents associated with the specified project

Supports pagination via optional 'page' and 'per_page' query parameters. Returns JSON data representing cluster agents of the project. Requires authentication unless 'skipAuthentication' is set to true.

Links

Discussion