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

## 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/d43a05d98a9b/schema)
