GitLab API

GitlabTool

Actions1095

Metrics → getApiV4UsageDataMetricDefinitions

AI-generated

Summary

Retrieves GitLab usage data metric definitions from /api/v4/usage_data/metric_definitions. The include_paths query parameter is optional and defaults to false; enabling it asks GitLab to include file paths in the definitions.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips credential authentication; otherwise the GitLab API credential is used.
  • baseUrl — Base URL, defaulting to https://gitlab.com. The node source says the actual base URL is defined by the GitLab API credential.
  • Method — HTTP method selector, defaulting to GET. Other declared choices are POST, PUT, DELETE, HEAD, and PATCH.
  • include_paths — Optional query parameter. Set true to include file paths in the metric definitions; defaults to false.

Output shape

GitLab API response

The operation is configured with the path /api/v4/usage_data/metric_definitions and a GET default. The source pack does not show response transformation or a more specific response schema.

Links

Discussion