---
title: "Download source tarball for deployment"
method: GET
path: "/apps/{appRef}/deploys/{deployId}/source"
tags: ["Deploys"]
---

# Download source tarball for deployment

`GET /apps/{appRef}/deploys/{deployId}/source`

## Request

- Base URL: `https://api.percher.run`
- URL: `https://api.percher.run/apps/{appRef}/deploys/{deployId}/source`
- Auth: HTTP bearer

## Path parameters

- `appRef` string, required
- `deployId` string, required

## Response `200`

Source tarball (application/x-gzip)

## Other responses

- `404`: Deployment not found
- `410`: Tarball retention-evicted

---

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