---
title: "Upload Mount File"
method: POST
path: "/mounts/{mount_id}/files/upload"
tags: ["Mounts"]
---

# Upload Mount File

`POST /mounts/{mount_id}/files/upload`

## Path parameters

- `mount_id` string, uuid, required

## Query parameters

- `path` string, nullable

## Response `200`

Successful Response

- MountFileWrittenResponse
  - `path` string, required
  - `size` integer

## Other responses

- `422` — Validation Error

---

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