GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves detailed information about a specific GitLab runner by its ID using the GitLab API. It is useful for scenarios where you need to fetch runner details for monitoring, management, or integration purposes within GitLab CI/CD workflows.

Use Case Examples

  1. Fetch details of a runner with a specific ID to check its status and configuration.
  2. Integrate runner information retrieval into an automation workflow to dynamically manage CI/CD runners.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method HTTP method used for the API request, default is GET.
Path Parameters Parameters to be included in the API request path, specifically the runner ID to fetch.

Output

JSON

  • id - The unique identifier of the runner.
  • description - Description of the runner.
  • active - Indicates if the runner is active.
  • is_shared - Indicates if the runner is shared across projects.
  • runner_type - Type of the runner.
  • status - Current status of the runner.
  • platform - Platform on which the runner is running.
  • architecture - Architecture of the runner's system.
  • tags - Tags associated with the runner.
  • created_at - Timestamp when the runner was created.
  • updated_at - Timestamp when the runner was last updated.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the runner ID provided in the path parameters is valid and exists in the GitLab instance.
  • If authentication is skipped, the API request may fail due to lack of permissions.
  • Verify the base URL is correct and accessible.
  • Common error messages include 404 Not Found if the runner ID does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion