---
title: "Export assets as a downloadable archive"
method: POST
path: "/api/assets/export"
tags: ["assets"]
---

# Export assets as a downloadable archive

`POST /api/assets/export`

[cloud-only] Initiates a bulk export of assets. Returns a task ID for tracking progress via WebSocket. When complete, the export can be downloaded via the exports endpoint.

## Request body

- object
  - `asset_ids` string[], required — IDs of assets to export
  - `export_name` string — Name for the export archive

## Response `202`

Export task accepted

- object
  - `task_id` string, uuid, required — ID of the export task; use to poll status.
  - `status` 'created' | 'running' | 'completed' | 'failed', required — Current task status (typically `created` on initial creation).
  - `message` string — Human-readable task message.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

## Changes

- **2026-05-22** `09a5075587c8` — 2 info
  - api operation id `exportAssets` removed and replaced with `createAssetExport`
  - added the non-success response with the status `500`
- **2026-05-22** `495cc1244e22` — 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `202`
- **2026-05-08** `c9640fded659` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/assets/export/post.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/09a5075587c8/schema)
