GitLab API

GitlabTool

Actions1095

User → getApiV4UserKeys

AI-generated

Summary

Retrieves the authenticated GitLab user's SSH keys with a GET request to /api/v4/user/keys. Use the optional pagination parameters to select a page and set the number of keys returned.

Inputs

  • Skip Authentication — When enabled, skips GitLab API authentication; otherwise, the GitLab API credential is used.
  • Base URL — Defaults to https://gitlab.com. The source indicates the actual base URL is defined in the GitLab API credential.
  • Method — HTTP method selector, defaulting to GET. The operation path is /api/v4/user/keys.
  • Page — Optional query parameter for the page number; the declared default is 1.
  • Per_page — Optional query parameter for the number of items per page; the declared default is 20.

Output shape

A single response from the GitLab API containing user SSH key data.

The source delegates request handling to OpenApiToolNode; response fields and pagination response shape are not specified in the provided source.

Links

Discussion