Retrieve job artifacts
GET
/api/v4/projects/{id}/jobs/artifacts/{ref_name}/download
Retrieves the artifacts archive for the latest successful job on a specified branch or tag.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Query Parameters
Section titled “ Query Parameters ” job
required
string
The name of the job.
job_token
string
To be used with triggers for multi-project pipelines, available only on Premium and Ultimate tiers.
search_recent_successful_pipelines
boolean
Search across recent successful pipelines instead of just the latest one.
Responses
Section titled “ Responses ”OK
Bad Request
Unauthorized
Forbidden
Not found