GitLab API

GitlabTool

Actions1095

Cluster_agents → postApiV4ProjectsIdClusterAgentsAgentIdTokens

AI-generated

Summary

Creates a token for a specified GitLab cluster agent in a project by sending a POST request to the cluster agent tokens endpoint.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab credential authentication; otherwise the node uses GitLab API credentials.
  • baseUrl — Defaults to https://gitlab.com. The source says the effective base URL is defined in the GitLab API credential.
  • Path Parameters (required) — Provide the project ID or URL-encoded path in id and the agent ID in agent_id. Both are required by the operation schema.

Output shape

A single response from the GitLab API, passed through by the OpenAPI tool node.

The operation schema requires a request body, but no body fields are exposed in the supplied properties. The configured Method defaults to GET, though this operation's endpoint is a token-creation action; runtime method handling is not shown in the source pack.

Links

Discussion