GitLab API

GitlabTool

Actions1095

Usage_data → getApiV4UsageDataMetricDefinitions

AI-generated

Summary

Retrieves GitLab usage data metric definitions from GET /api/v4/usage_data/metric_definitions. Set include_paths to true to request file paths in the definitions; authentication is enabled by default and the base URL defaults to https://gitlab.com.

Inputs

  • Skip Authentication — Defaults to false; set to true to skip authentication. Otherwise, the node uses GitLab API credentials.
  • Base URL — Defaults to https://gitlab.com. The node source says the GitLab API credential defines the actual base URL.
  • Method — The method selector defaults to GET; the operation path is /api/v4/usage_data/metric_definitions.
  • include_paths — Query parameter that requests file paths in the metric definitions. Defaults to false.

Output shape

A response from the GitLab API containing usage data metric definitions.

The source pack shows the node delegates execution to its OpenAPI base class, so it does not specify the response fields or error shape.

Links

Discussion