GitLab API

GitlabTool

Actions1095

Ml_model_registry → getApiV4ProjectsIdPackagesMlModelsModelVersionIdFiles(*path)FileName

AI-generated

Summary

Retrieves a file from a GitLab ML model version using the GitLab API. Specify the project ID or URL-encoded path, model version ID, and file name; optionally provide the file’s directory path and package status.

Inputs

  • Skip Authentication — Skips GitLab API authentication when enabled; authentication is enabled by default.
  • Base URL — GitLab instance URL, defaulting to https://gitlab.com. The node source notes that the base URL is defined in the GitLab API credential.
  • Method — HTTP method selector; defaults to GET.
  • Path Parameters (required) — Project ID or URL-encoded path (id), file name (file_name), and model version ID (model_version_id).
  • Query Parameters — Optional file directory path (path) and package status (status), which can be default or hidden.

Output shape

A single API response, passed through by the OpenAPI tool node.

The operation declares no request body. The source pack does not show response parsing or the response schema.

Links

Discussion