GitLab API

GitlabTool

Actions1095

Projects → getApiV4ProjectsIdJobsJobIdArtifacts

AI-generated

Summary

Retrieve the artifacts of a specific job from a GitLab project using its project ID or path, and job ID.

Inputs

  • id (required) — The ID or URL-encoded path of the project whose job artifacts you want to retrieve.
  • job_id (required) — The ID of the job within the project whose artifacts are to be fetched.
  • job_token — A token used with triggers for multi-project pipelines (available only on Premium and Ultimate tiers).

Output shape

a binary file representing the job artifacts

The API returns the job artifacts as a file download; no pagination or JSON envelope is involved.

Links

Discussion