---
title: Upload a cache artifact
description: "Uploads a cache artifact identified by the `hash` specified on the path. The cache artifact can then be downloaded with the provided `hash`.\n\nThe request body should contain a gzip-compressed tarball of the task outputs. The server should store this data and make it available for subsequent downloads."
url: "https://turborepo.dev/docs/openapi/artifacts/upload-artifact"
docs_index: /llms.txt
lastUpdated: 2026-11-20
---

> For an index of all documentation, see [/llms.txt](/llms.txt).

#### `PUT /artifacts/{hash}`

---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/agents.md](/agents.md)