GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → postApiV4ProjectsId(refRef)triggerPipeline

AI-generated

Summary

Trigger a pipeline for a specific GitLab project and branch, tag, or commit reference by initiating a POST request to the project's pipeline trigger endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project where the pipeline will be triggered.
  • ref (required) — The commit SHA, branch name, or tag name to run the pipeline on.
  • postApiV4ProjectsId(refRef)triggerPipeline (required) — The request body schema including any variables or parameters required by the pipeline trigger.

Output shape

a JSON object representing the triggered pipeline's details returned from GitLab's API

The operation returns the pipeline object as per GitLab API v4 specification. It requires authentication via the configured GitLab credentials unless Skip Authentication is set to true.

Links

Discussion