---
title: "Download a file from a sandbox"
method: GET
path: "/sandboxes/{sandbox_id}/files/{path}"
tags: ["Files"]
---

# Download a file from a sandbox

`GET /sandboxes/{sandbox_id}/files/{path}`

Idle sandboxes are automatically resumed before the download.

## Response `200`

File content

## Other responses

- `401` — Missing or invalid API key
- `404` — Resource not found
- `409` — Sandbox is not in a valid state for this operation
- `500` — Internal server error

---

[API](https://skmtc.net/superserve-ai/apis/superserve-api.md) · [All operations](https://skmtc.net/superserve-ai/apis/superserve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/superserve-ai/superserve-api/versions/304fe18155b8/schema)
