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

# Upload binary file contents to Devbox filesystem.

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

Upload file contents of any type (binary, text, etc) to a Devbox. Note this API is suitable for large files (larger than 100MB) and efficiently uploads files via multipart form data.

## Path parameters

- `id` string, required

## Response `200`

OK

- EmptyRecord

## 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)
