GitLab API

GitlabTool

Actions1095

Personal_access_tokens → getApiV4PersonalAccessTokensSelfAssociations

AI-generated

Summary

Retrieve a list of personal access token associations for the authenticated user, optionally filtering by minimum access level and paginating the results.

Inputs

  • Skip Authentication — Boolean flag to skip authentication for the request; defaults to false.
  • BaseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.
  • Method (required) — HTTP method to use for the request; fixed to GET for this operation.
  • Query Parameters — Optional parameters for the request: min_access_level (integer; limits results to tokens with said minimum user access level), page (integer; current page number), per_page (integer; number of items per page).

Output shape

a list of personal access token association objects for the authenticated user, typically paginated according to 'page' and 'per_page' parameters.

The results may be filtered to only include tokens with at least the specified 'min_access_level'. Pagination is supported via 'page' and 'per_page' query parameters. Authentication is required unless explicitly skipped via 'Skip Authentication'.

Links

Discussion