Skip to main content
HEAD
/
api
/
assets
/
hash
/
{hash}
Check if asset exists by hash
curl --request HEAD \
  --url https://cloud.comfy.org/api/assets/hash/{hash} \
  --header 'X-API-Key: <api-key>'
{
  "code": "<string>",
  "message": "<string>"
}

Authorizations

X-API-Key
string
header
required

API key authentication. Generate an API key from your account settings at https://comfy.org/account. Pass the key in the X-API-Key header.

Path Parameters

hash
string
required

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

Example:

"blake3:a1b2c3d4e5f6789012345678901234567890123456789012345678901234"

Response

Asset exists