GitLab API icon

GitLab API

Gitlab

Actions1062

Personal_access_tokens → getApiV4PersonalAccessTokensSelf

AI-generated

Summary

Retrieve information about the current user's personal access tokens from the GitLab API.

Inputs

  • Skip Authentication — Boolean flag to skip authentication for the request, default is false.
  • baseUrl — The base URL for the GitLab server, defaulting to 'https://gitlab.com'.
  • Method — The HTTP method to use for the request, default is GET (used here to retrieve tokens).

Output shape

a list of the user's personal access token records as returned by the GitLab API

The endpoint called is '/api/v4/personal_access_tokens/self', returning tokens associated with the authenticated user. If 'Skip Authentication' is true, authentication is omitted and the request may fail. The output directly reflects the GitLab API response schema for this endpoint.

Links

Discussion