job_artifacts

Retrieve job artifacts

Retrieves the artifacts archive for the latest successful job on a specified branch or tag.

get/api/v4/projects/{id}/jobs/artifacts/{ref_name}/download

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project

ref_namestring required

Branch or tag name in repository. HEAD or SHA references are not supported.

Query parameters

jobstring required

The name of the job.

job_tokenstring

To be used with triggers for multi-project pipelines, available only on Premium and Ultimate tiers.

search_recent_successful_pipelinesboolean

Search across recent successful pipelines instead of just the latest one.

Response

Retrieve job artifacts

Changes

No recorded changes to this operation across all 5 revisions of this API.