GitLab API

GitlabTool

Actions1095

Projects → getApiV4ProjectsIdJobs

AI-generated

Summary

Retrieve a list of jobs for a specified GitLab project using the GitLab API v4, with optional filtering by job scope and pagination controls.

Inputs

  • id (required) — The ID or URL-encoded path of the project whose jobs to retrieve.
  • scope — Optional filter to specify the scope of builds to show, such as 'pending', 'running', 'success', etc.
  • page — Optional page number for paginated results, defaulting to 1 if unspecified.
  • per_page — Optional number of items per page for pagination, defaulting to 20 if unspecified.

Output shape

a list of job objects associated with the specified project

Supports pagination via 'page' and 'per_page' query parameters. Filtering jobs by their scope status is also supported. The operation uses HTTP GET method by default and requires GitLab API authentication unless 'Skip Authentication' is enabled.

Links

Discussion