GitLab API icon

GitLab API

Gitlab

Actions1062

Project_access_tokens → getApiV4ProjectsIdAccessTokens

AI-generated

Summary

Retrieves the list of access tokens for a specified GitLab project, optionally filtering by token state.

Inputs

  • id (required) — ID or URL-encoded path of the project
  • state — Filter tokens which are either active or inactive
  • skipAuthentication — Bypass authentication if true
  • method — HTTP method (default: GET)
  • baseUrl — Base URL for GitLab instance (default: https://gitlab.com)

Output shape

array of project access token objects as returned by GitLab API

Includes token id, name, expires_at, scopes, user, etc.

Examples

Example 1: Get active tokens for project 123

id: 123, state: active

Links

Discussion