---
title: "Check if a file exists in image"
method: HEAD
path: "/inspect/{image_uuid}/download"
tags: ["inspect"]
---

# Check if a file exists in image

`HEAD /inspect/{image_uuid}/download`

Checks if a file exists in the specified image without returning the file content

## Path parameters

- `image_uuid` string, uuid, required

## Query parameters

- `path` string, required

## Response `200`

OK - The file exists in the image

## Other responses

- `400` — Bad Request - Invalid request parameters
- `401` — Unauthorized - Invalid or missing authentication credentials
- `403` — Forbidden - Token does not have sufficient permissions
- `404` — Not Found - The file does not exist in the image or image does not exist
- `422` — Unprocessable Entity - The specified path is not a file inside the image

---

[API](https://skmtc.net/nebius/apis/nebius-openai-compatible-inference-api.md) · [All operations](https://skmtc.net/nebius/apis/nebius-openai-compatible-inference-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nebius/nebius-openai-compatible-inference-api/revisions/0fb323abba3c/schema)
