GitLab API

GitlabTool

Actions1095

User → getApiV4UserKeysKeyId

AI-generated

Summary

Retrieves the SSH key with the specified ID for the authenticated GitLab user using the configured HTTP method and GitLab base URL.

Inputs

  • key_id (required) — ID of the SSH key to retrieve; sent as the key_id path parameter.
  • Skip Authentication — When enabled, skips GitLab authentication; otherwise the GitLab API credential is used.
  • baseUrl — GitLab base URL, defaulting to https://gitlab.com; runtime source indicates the actual base URL is defined by the GitLab API credential.
  • Method — HTTP method for the request, default GET; options are GET, POST, PUT, DELETE, HEAD, and PATCH.

Output shape

A single GitLab API response item containing the request result.

The operation path is /api/v4/user/keys/{key_id}. The response fields are not specified by the supplied properties or source.

Links

Discussion