---
title: "Download a file"
method: GET
path: "/sandboxes/{id}/files/{filePath}"
tags: ["Runtime"]
---

# Download a file

`GET /sandboxes/{id}/files/{filePath}`

Returns the raw file bytes as `application/octet-stream`. No JSON envelope.

## Response `200`

File contents

## Other responses

- `400` — Validation error / invalid state transition
- `404` — Sandbox or related resource not found (also returned when owned by another user)

---

[API](https://skmtc.dev/brimblehq/apis/brimble-sandbox-api.md) · [All operations](https://skmtc.dev/brimblehq/apis/brimble-sandbox-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brimblehq/brimble-sandbox-api/revisions/7fe2df041597/schema)
