/
/ComfyUI API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 2h ago · Updated 3w ago
assets23
  • headCheck if an asset with the given hash exists
  • getList assets with filtering and pagination
  • postUpload a new asset
  • postCreate an asset reference from an existing hash
  • getGet asset metadata
  • putUpdate asset metadata
  • deleteDelete an asset
  • getDownload asset file content
  • postAdd tags to an asset
  • deleteRemove tags from an asset
  • getList all known tags with counts
  • getGet tag counts for assets matching current filters
  • postTrigger asset scan/seed from filesystem
  • getGet asset scan progress
  • postCancel an in-progress asset scan
  • postMark assets whose backing files no longer exist on disk
  • postDownload assets to cloud runtime
  • postExport assets as a downloadable archive
  • getDownload a completed asset export
  • postCreate asset records from a workflow execution
  • postImport assets from external URLs
  • getFetch metadata for a remote asset URL
  • getGet related mask layer filenames
auth5
billing11
extensions3
history5
hub13
internal6
model5
node6
prompt3
queue8
runtime-only2
settings9
subgraph2
system4
task2
upload2
user5
userdata8
view6
workflows11
workspace18
    assets

    Mark assets whose backing files no longer exist on disk

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

    post/api/assets/prune

    Response

    Prune result

    statusstring
    markedinteger

    Number of assets marked as missing

    Changes