gitlab api pro icon

gitlab api pro

Extended GitLab node

Pipeline → Get

AI-generated

Summary

Fetch a specific pipeline for a given GitLab project by its numeric pipeline ID.

Inputs

  • Authentication — Select whether to use saved credentials or custom access token fields for authentication (optional).
  • GitLab Server — Base URL of your GitLab instance, e.g., 'https://gitlab.com', only used if 'Custom' authentication is selected (optional).
  • Project Locator — Method to identify the project: by numeric ID or by path (optional, default: 'id').
  • Project ID — Numeric ID of the project (required if Project Locator is 'id').
  • Project Owner — Namespace or owner of the project, used when Project Locator is 'path' (optional).
  • Project Name — Project slug or name, used when Project Locator is 'path' (optional).
  • Pipeline ID (required) — Positive numeric ID of the pipeline to get.

Output shape

a single JSON object representing the pipeline details

Throws an error if Pipeline ID or project identification is invalid. Returns the pipeline's full data as returned by the GitLab API.

Examples

Example 1: Retrieve a pipeline by providing project ID and pipeline ID

Set authentication mode if needed, provide Project Locator as 'id', Project ID as the numeric project identifier, and Pipeline ID as the pipeline to fetch.

Links

Discussion