GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → getApiV4ProjectsIdPipelinesPipelineIdJobs

AI-generated

Summary

Retrieve jobs for a specific pipeline of a GitLab project using the GitLab API v4.

Inputs

  • id (required) — The project ID or URL-encoded path to identify the GitLab project.
  • pipeline_id (required) — The pipeline ID within the specified project to fetch jobs for.
  • include_retried — Boolean flag to include retried jobs in the results.
  • scope — Filter jobs by their scope/status, e.g., pending, running, success.
  • page — Page number for paginated results; defaults to 1.
  • per_page — Number of items per page for pagination; defaults to 20.

Output shape

a list of job objects related to the specified pipeline in the specified project

Supports pagination via 'page' and 'per_page' query parameters. Optional filtering by job status and inclusion of retried jobs. The operation performs an HTTP GET request to /api/v4/projects/{id}/pipelines/{pipeline_id}/jobs using the GitLab API v4.

Links

Discussion