/
/ComfyUI API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 42m 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
  • post[cloud-only] Import published assets into the caller's library
  • getFetch metadata for a remote asset URL
  • getGet related mask layer filenames
auth11
billing11
extensions3
history5
hub13
internal6
model5
node6
prompt3
queue8
runtime-only2
settings9
subgraph2
system4
task2
upload2
user5
userdata8
view6
workflows11
workspace18
    assets

    Check if an asset with the given hash exists

    Returns 204 if an asset with the given content hash already exists, 404 otherwise. Used by clients to deduplicate uploads before transferring bytes.

    head/api/assets/hash/{hash}

    Path parameters

    hashstring required

    Blake3 hash of the asset (e.g. blake3:abc123...)

    Response

    Asset exists

    Changes