/
/ComfyUI API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 15m ago · Updated 2w ago
billing1
feedback1
file19
  • getList user assets
  • postCreate a new asset
  • getGet asset details
  • putUpdate asset metadata
  • deleteDelete asset
  • getGet asset content
  • postAdd tags to asset
  • deleteRemove tags from asset
  • postCreate asset reference from existing hash
  • headCheck if asset exists by hash
  • getGet tag histogram for filtered assets
  • getGet available model folders
  • getGet models in a specific folder
  • getGet related mask layer files
  • getList all tags
  • postUpload an image file
  • postUpload a mask image
  • getQuery VHS video metadata
  • getView a file
job1
node4
queue3
settings4
system2
task2
user7
workflow13
workflows11
  • postMark assets whose backing files no longer exist on disk
  • postTrigger asset scan/seed from filesystem
  • postCancel an in-progress asset scan
  • getGet asset scan progress
  • getList available embedding names
  • postFree GPU memory and/or unload models
  • getGet internationalisation translation strings
  • getGet configured folder paths
  • getGet server logs as text
  • getGet raw structured log entries
  • patchSubscribe or unsubscribe a WebSocket client to log streaming
file

Check if asset exists by hash

Checks if an asset exists in the system by its blake3 hash. Returns 200 if the asset exists, 404 if it doesn't.

head/api/assets/hash/{hash}

Path parameters

hashstring required
Example:blake3:a1b2c3d4e5f67890123456789012345678901234567890123456789012345678

Blake3 hash of the asset in format 'blake3:hex_digest'

Response

Asset exists

Changes