GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves details of a specific cluster agent associated with a GitLab project. It is useful for users who need to programmatically access information about cluster agents within their GitLab projects, such as for monitoring or automation purposes. For example, a DevOps engineer might use this node to fetch the status or configuration of a cluster agent to integrate with other tools or dashboards.

Use Case Examples

  1. Fetch details of a cluster agent by providing the project ID and agent ID to monitor cluster agent status.
  2. Automate retrieval of cluster agent information for auditing or reporting within a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Type of authentication used, here it is GitLab API authentication, hidden if Skip Authentication is true.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters to specify the project ID and the cluster agent ID for the request.

Output

JSON

  • id - The unique identifier of the cluster agent.
  • name - The name of the cluster agent.
  • config - Configuration details of the cluster agent.
  • created_at - Timestamp when the cluster agent was created.
  • updated_at - Timestamp when the cluster agent was last updated.

Dependencies

  • GitLab API credentials for authentication

Troubleshooting

  • Ensure the project ID and agent ID are correctly provided and URL-encoded if necessary.
  • Verify that the GitLab API credentials have sufficient permissions to access cluster agent details.
  • If authentication is skipped, confirm that the endpoint is publicly accessible.
  • Check network connectivity to the specified baseUrl.

Links

Discussion