---
title: "Download binary file contents from Devbox filesystem."
method: POST
path: "/v1/devboxes/{id}/download_file"
tags: ["Devbox", "Devbox-FileTools"]
---

# Download binary file contents from Devbox filesystem.

`POST /v1/devboxes/{id}/download_file`

Download file contents of any type (binary, text, etc) from a specified path on the Devbox.

## Path parameters

- `id` string, required

## Request body

- DevboxDownloadFileParameters
  - `path` string, required — The path on the Devbox filesystem to read the file from. Path is relative to user home directory.

## Response `200`

OK

## Other responses

- `404` — Devbox not found.

---

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