GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → postApiV4ProjectsIdPipelinesPipelineIdRetry

AI-generated

Summary

Retry a specific pipeline for a given project in GitLab by making a POST request to the GitLab API's pipeline retry endpoint.

Inputs

  • Id (required) — The project ID or URL-encoded path identifying the GitLab project whose pipeline is to be retried.
  • Pipeline_id (required) — The pipeline ID of the specific pipeline to retry within the specified project.
  • Skip Authentication — Whether to skip authentication for this request.

Output shape

a single JSON object representing the retried pipeline's details as returned by the GitLab API

The output directly reflects the response from the GitLab API endpoint POST /api/v4/projects/{id}/pipelines/{pipeline_id}/retry. Requires valid project and pipeline identifiers. Authentication is enabled by default unless skipped explicitly.

Examples

Example 1: Retry a pipeline with project ID 11 and pipeline ID 18

Set 'Id' to '11' and 'Pipeline_id' to '18'. Execute the operation to trigger a retry of that pipeline.

Links

Discussion