GitLab API

GitlabTool

Actions1095

Projects → getApiV4ProjectsIdJobsJobId

AI-generated

Summary

Retrieve the details of a specific job by its Job ID within a GitLab project identified by the project ID.

Inputs

  • id (required) — The ID of the GitLab project to query.
  • job_id (required) — The ID of the job within the specified project whose details you want to retrieve.
  • Skip Authentication — Optionally skip authentication for this request (default is false).
  • baseUrl — The base URL of the GitLab instance to query (default is https://gitlab.com).
  • Method — The HTTP method to use for the request (default is GET).

Output shape

a single job detail object

The operation returns the details of the job identified by job_id under the project identified by id. Authentication is required unless explicitly skipped. The output format depends on the GitLab API response for the endpoint /api/v4/projects/{id}/jobs/{job_id}.

Examples

Example 1: Get job details by ID

Set 'id' to the project ID (e.g., 123) and 'job_id' to the specific job ID (e.g., 88). Leave other parameters as default for authenticated GET request.

Links

Discussion