GitLab API

GitlabTool

Actions1095

Namespaces → getApiV4Namespaces

AI-generated

Summary

Lists GitLab namespaces visible to the authenticated user, with optional filters and pagination. The request uses the configured GitLab API credential and sends a GET to /api/v4/namespaces by default.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips authentication; otherwise the GitLab API credential is used.
  • Base URL — Defaults to https://gitlab.com; the node source says the credential defines the base URL.
  • Method — HTTP method; defaults to GET, with POST, PUT, DELETE, HEAD, and PATCH also available.
  • Search — Search criteria for namespaces the user is authorized to view.
  • Owned_only — In GitLab 14.2 and later, request only namespaces owned by the user.
  • Top_level_only — Request only top-level namespaces; the schema default is false.
  • Page — Page number; defaults to 1.
  • Per_page — Number of items per page; defaults to 20.
  • Requested_hosted_plan — Name of the hosted plan requested by the customer.

Output shape

A response from the GitLab namespaces endpoint, expected to be a list of namespaces.

The source pack delegates request execution and response handling to OpenApiToolNode, so it does not establish the precise n8n output envelope or pagination behavior.

Links

Discussion