Skip to content

Download a package file

GET
/api/v4/projects/{id}/packages/{package_id}/package_files/{package_file_id}/download

This feature was introduced in GitLab 18.4

id
required
One of:
string

ID or URL-encoded path of the project

package_id
required
integer

ID of a package

package_file_id
required
integer

ID of a package file

OK

Bad Request

Unauthorized

Forbidden

Not found