---
title: "Check if asset exists by hash"
method: HEAD
path: "/api/assets/hash/{hash}"
tags: ["asset"]
---

# Check if asset exists by hash

`HEAD /api/assets/hash/{hash}`

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`.

## Path parameters

- `hash` string, required

## Response `200`

Asset exists

## Other responses

- `400` — Invalid hash format
- `401` — Unauthorized
- `404` — Asset not found
- `500` — Internal server error

---

[API](https://skmtc.net/ac/apis/comfy-api.md) · [All operations](https://skmtc.net/ac/apis/comfy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ac/comfy-api/versions/c1893dffe250/schema)
