GitLab API

GitlabTool

Actions1095

User → getApiV4UserGpgKeys

AI-generated

Summary

Retrieves GPG keys for the authenticated GitLab user with a GET request to /api/v4/user/gpg_keys. You can choose a page and page size to control the returned results.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips the GitLab API credential; otherwise, the node uses it for authentication.
  • Base URL — Defaults to https://gitlab.com; the source indicates the actual base URL is defined in the GitLab API credential.
  • Method — Defaults to GET. The UI offers other HTTP methods, though this operation is configured as a GET endpoint.
  • Page — Optional query parameter for the page number; the schema default is 1.
  • Per_page — Optional query parameter for the number of items per page; the schema default is 20.

Output shape

A list of the authenticated user's GPG keys.

The endpoint is paginated using page and per_page. The provided source pack delegates request and response handling to the OpenAPI tool base class, so the exact response envelope is not shown.

Links

Discussion