---
title: "Mark assets whose backing files no longer exist on disk"
method: POST
path: "/api/assets/prune"
---

# Mark assets whose backing files no longer exist on disk

`POST /api/assets/prune`

Starts a background job that removes asset entries whose underlying content no longer exists on disk.

## Response `200`

Prune result

- object
  - `marked` integer — Number of assets marked as missing
  - `status` string

## Changes

> 38 revisions in range; 2 could not be searched.

- **2026-06-03** `8560879e6188` — 1 info
  - api tag `assets` removed
- **2026-04-24** `a66055fa384e` — 1 info
  - api tag `assets` added

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/assets/prune/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/da017caf56f1/schema)
