GitLab API

GitlabTool

Actions1095

Cluster_agents → getApiV4ProjectsIdClusterAgents

AI-generated

Summary

Retrieves a page of cluster agents for a GitLab project using GET /api/v4/projects/{id}/cluster_agents. The project ID or URL-encoded path is required; page and per-page query parameters are optional.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab API authentication; otherwise the GitLab API credential is used.
  • Base URL — Defaults to https://gitlab.com. The node source says the actual base URL is defined in the GitLab API credential.
  • Method — HTTP method selector, default GET; the operation path is the cluster agents endpoint.
  • Id (required) — Project ID or URL-encoded project path.
  • Page — Page number for the results; the API schema default is 1.
  • Per_page — Number of items per page; the API schema default is 20.

Output shape

A list of cluster agent records returned by the GitLab API.

Results are paginated using page and per_page. The supplied source contains the node wrapper but not the OpenAPI response schema or request execution implementation, so the exact response fields are unspecified.

Links

Discussion