GitLab API

GitlabTool

Actions1095

Runners → getApiV4RunnersIdJobs

AI-generated

Summary

Retrieve the list of jobs for a specified GitLab runner, optionally filtering and paginating the results.

Inputs

  • id (required) — The ID of the GitLab runner whose jobs to retrieve.
  • system_id — Optional system ID associated with the runner manager to filter jobs.
  • status — Optional filter by the status of the jobs (e.g., created, running, success, failed).
  • order_by — Optional ordering of the results by 'id'.
  • sort — Optional sort order to apply when ordering results; must be used with 'order_by', defaults to 'desc'.
  • cursor — Optional cursor for pagination to retrieve the next set of records.
  • page — Optional page number for pagination, defaults to 1.
  • per_page — Optional number of items per page for pagination, defaults to 20.
  • skipAuthentication — Optional flag to skip authentication; defaults to false.
  • baseUrl — Optional base URL to override the default https://gitlab.com.

Output shape

a list of job records associated with the specified runner

The output respects pagination parameters; if pagination parameters are omitted, defaults apply (page 1, 20 items per page). Filtering by status or system_id is optional. Errors due to missing runner ID or authentication issues will be returned following standard node error handling.

Links

Discussion