GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → getApiV4ProjectsIdJobs

AI-generated

Summary

Retrieve the jobs of a specific GitLab project using its ID or URL-encoded path, optionally filtering by job scope and paginating results.

Inputs

  • id (required) — The ID or URL-encoded path of the project whose jobs are to be fetched.
  • scope — Filter jobs by their scope status (e.g., pending, running, success). Accepts multiple values.
  • page — Page number for paginated results; defaults to 1.
  • per_page — Number of jobs returned per page; defaults to 20.
  • skipAuthentication — Option to skip authentication; defaults to false.
  • baseUrl — Base URL for the GitLab instance; defaults to 'https://gitlab.com'.

Output shape

a list of job objects for the specified project

The response is paginated according to the 'page' and 'per_page' input parameters. Jobs can be filtered by their scope status. Errors or empty results depend on the project ID validity and authentication status.

Links

Discussion