GitLab API

GitlabTool

Actions1095

Projects → postApiV4ProjectsIdPipeline

AI-generated

Summary

Trigger a new pipeline for a specified GitLab project by providing the project ID or URL-encoded path and the required pipeline creation parameters in the request body.

Inputs

  • Id (required) — The project ID or URL-encoded path to identify the GitLab project for which to create the pipeline.
  • postApiV4ProjectsIdPipeline (required) — The request body parameters schema to specify pipeline details such as ref, variables, etc.
  • Skip Authentication — Optionally skip authentication when making the API request (default: false).
  • baseUrl — The base URL of the GitLab instance (default: https://gitlab.com).

Output shape

a single record representing the created pipeline response from the GitLab API

Returns the pipeline object created for the specified project. Requires the project identifier in path parameters and pipeline details in the request body. Authentication is required unless explicitly skipped.

Examples

Example 1: Triggering a new pipeline for project ID 11 with mandatory pipeline creation data

Set Path Parameter 'Id' to '11' and fill the request body with required pipeline details according to 'postApiV4ProjectsIdPipeline' schema. Optionally configure 'baseUrl' and 'Skip Authentication'.

Links

Discussion