---
title: "Upload File"
method: POST
path: "/files/upload"
tags: ["runtime_mutations", "files"]
---

# Upload File

`POST /files/upload`

Upload a file into the workspace at ``dest_dir/<filename>``.

Name conflicts are auto-renamed (``name (1).ext``) unless
``overwrite`` is set; the final path is returned either way.

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.net/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quadrillion/quadrillion-cloud-api/revisions/ee473d0e84e0/schema)
