GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → getApiV4ProjectsIdJobsJobId

AI-generated

Summary

Retrieve details of a specific job within a GitLab project by providing the project ID and the job ID.

Inputs

  • id (required) — The ID of the GitLab project containing the job.
  • job_id (required) — The ID of the job within the specified project.
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.
  • skipAuthentication — Optionally skip authentication; default is false (authentication is used).

Output shape

a single job object with details as returned by the GitLab API for the specified project job

Returns the job details for the given project ID and job ID. Authentication is required unless skipped. The node uses the specified or default GitLab base URL.

Examples

Example 1: Retrieve job details from a project in GitLab.com

Set 'id' to the project ID, 'job_id' to the specific job ID, and leave 'baseUrl' as default unless using a self-hosted instance.

Links

Discussion