---
title: "Export Mount Files"
method: POST
path: "/mounts/files/export"
tags: ["Mounts"]
---

# Export Mount Files

`POST /mounts/files/export`

## Request body

- MountArchiveRequest — Zip several mounts into ONE archive (the drive folds cwd + agent-files into one tree).
  - `mounts` ArchiveMount[]
    - `mount_id` string, uuid, required
    - `prefix` string
    - `path` string
  - `filename` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

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

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/mounts/files/export/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/5a14788d939f/schema)
