---
title: "Download job artifacts"
method: GET
path: "/api/v4/jobs/{id}/artifacts"
tags: ["jobs"]
---

# Download job artifacts

`GET /api/v4/jobs/{id}/artifacts`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/jobs/{id}/artifacts`
- Auth: none declared

Downloads artifacts for a specified job.

## Path parameters

- `id` integer, required

## Query parameters

- `token` string
- `direct_download` boolean

## Response `200`

Download allowed

## Other responses

- `302`: Found
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Artifact not found
- `429`: Too Many Requests

---

[API](https://skmtc.dev/gitlab/apis/gitlab-api.md) - [All operations](https://skmtc.dev/gitlab/apis/gitlab-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gitlab/apis/gitlab-api/revisions/b234947ef3f2?raw)
