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

# Upload File

`POST /api/workspace/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

## Changes

- **2026-09-18** `abf76937a751` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/api/workspace/upload/post.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/revisions/397ad3a1d858?raw)
