GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → getApiV4ProjectsIdTriggersTriggerId

AI-generated

Summary

Retrieve a specific trigger of a GitLab project by providing the project ID or URL-encoded path and the trigger token ID.

Inputs

  • id (required) — The ID or URL-encoded path of the project to retrieve the trigger from.
  • trigger_id (required) — The ID of the trigger token to retrieve.
  • baseUrl — Optional base URL of the GitLab instance, defaults to 'https://gitlab.com'.
  • method — HTTP method to use, default is GET (other methods are available but GET is typical for retrieval).
  • skipAuthentication — Optionally disable authentication for this request (default is false, meaning authentication is used).

Output shape

a single JSON object representing the project trigger details

The response contains the full details of the specified trigger in the project. Authentication via GitLab API credentials is required unless Skip Authentication is enabled.

Links

Discussion