GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve application statistics via the GET method on the /api/v4/application/statistics endpoint. It is useful for users who want to programmatically access GitLab application-level statistics, such as usage metrics or system information, directly within an n8n workflow.

Use Case Examples

  1. A DevOps engineer automates monitoring by fetching GitLab application statistics regularly to track system health.
  2. A project manager integrates GitLab statistics into a dashboard to visualize usage trends and resource allocation.

Properties

Name Meaning
Skip Authentication Determines whether to bypass authentication when making the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, defaulting to GET.
Parameter Schema Hidden property for the parameter schema of the operation, not user-editable.
Request Body Schema Hidden property for the request body schema of the operation, not user-editable.
Request Path The API endpoint path for retrieving application statistics, fixed to /api/v4/application/statistics.

Output

JSON

  • statistics - The JSON object containing the application statistics retrieved from the GitLab API.

Dependencies

  • GitLab API credentials for authentication

Troubleshooting

  • If authentication fails, verify that the GitLab API credentials are correctly configured and have the necessary permissions.
  • Ensure the baseUrl is correctly set to the GitLab instance URL; otherwise, the request may fail or return incorrect data.
  • If the API endpoint changes or is deprecated, update the node configuration accordingly.

Links

Discussion