---
search:
  tags:
    - artifacts
    - GET
seo:
  description: >-
    Downloads a cache artifact identified by its hash specified on the…
    Reference for the GET /artifacts/{hash} endpoint in the Turborepo Remote
    Cache API.
sidebar:
  label: Download a cache artifact
  badge: GET
title: Download a cache artifact
type: openapi-operation
---
Downloads a cache artifact identified by its `hash` specified on the request path. The artifact is downloaded as an octet-stream (binary data).

The artifact data is a gzip-compressed tarball containing the cached task outputs. The client will verify the content-length header against the response body size.

`GET /artifacts/{hash}`

**Responses**

- `200` — Artifact downloaded successfully
- `400` — Bad request. One or more of the provided values in the request query, headers, or body is invalid.
- `401` — Unauthorized. The request is missing a valid authentication token or the token is invalid.
- `403` — Forbidden. The authenticated user does not have permission to access this resource.
- `404` — Artifact not found. No artifact with the specified hash exists.
