---
title: "Check if a file exists for the current namespace"
method: HEAD
path: "/files/{sha256}"
tags: ["files"]
---

# Check if a file exists for the current namespace

`HEAD /files/{sha256}`

Returns 200 if the file is uploaded by the current namespace, otherwise 404.

## Response `200`

OK - The file exists

## Other responses

- `401` — Unauthorized - Invalid or missing authentication credentials
- `403` — Forbidden - Token does not have sufficient permissions
- `404` — Not Found - The file does not exist

---

[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)
