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

## Changes

> 359 revisions in range; 4 could not be searched.

- **2026-07-25** `5a14788d939f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/mounts/:mount_id/files/upload/post.md)

---

[API](https://skmtc.dev/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.dev/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/revisions/713e4f3b7519/schema)
