GitLab API icon

GitLab API

Gitlab

Actions1062

Personal_access_tokens → getApiV4PersonalAccessTokens

AI-generated

Summary

Retrieve personal access tokens from the GitLab API with optional filtering and pagination parameters.

Inputs

  • baseUrl — The base URL of the GitLab instance to query (default is https://gitlab.com).
  • Skip Authentication — Whether to skip authentication (default is false).
  • Method — The HTTP method to use for the request (default is GET).
  • Query Parameters — Optional filters and pagination options for the personal access tokens such as user_id, revoked, state (active/inactive), creation date range, last usage date range, search by name, sorting, page number, and items per page.

Output shape

a list of personal access tokens matching the given query parameters, each token as a JSON object

Supports pagination via 'page' and 'per_page' query parameters. Filtering parameters are optional. The response comes directly from GitLab's /api/v4/personal_access_tokens endpoint.

Links

Discussion