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

---

[API](https://skmtc.net/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.net/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/versions/9fb6092a836d/schema)
