curl --request HEAD \
--url https://cloud.comfy.org/api/assets/hash/{hash} \
--header 'X-API-Key: <api-key>'{
"code": "<string>",
"message": "<string>"
}Checks if content with the given hash exists in cloud storage.
Returns 200 if the content exists, 404 if it doesn’t.
Useful for checking availability before using /api/assets/from-hash.
curl --request HEAD \
--url https://cloud.comfy.org/api/assets/hash/{hash} \
--header 'X-API-Key: <api-key>'{
"code": "<string>",
"message": "<string>"
}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.
Blake3 hash of the asset in format 'blake3:hex_digest'
"blake3:a1b2c3d4e5f6789012345678901234567890123456789012345678901234"
Asset exists
Was this page helpful?