GitLab API

GitlabTool

Actions1095

Users → getApiV4UsersUserIdKeys

AI-generated

Summary

Retrieves the SSH keys associated with a GitLab user by sending a GET request to /api/v4/users/{user_id}/keys. Set the user ID or username in the path parameter; optional page and per-page query parameters control pagination.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips the GitLab API credential authentication.
  • baseUrl — Defaults to https://gitlab.com; the node source notes that the actual base URL is defined in the GitLab API credential.
  • Method — HTTP method selector, defaulting to GET. The operation is declared as a GET endpoint.
  • user_id (required) — User ID or username whose SSH keys to retrieve.
  • page — Page number for paginated results.
  • per_page — Number of keys per page.

Output shape

A list of user SSH key records returned by the GitLab API.

The operation exposes page and per_page query parameters for pagination. The source pack shows the OpenAPI tool setup but not its response parsing or exact response schema.

Links

Discussion