---
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`.

The 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.
---

# Upload a cache artifact



{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

<APIPage document={"remote-cache"} operations={[{"path":"/artifacts/{hash}","method":"put"}]} />


---

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)