---
title: "Get file info by SHA256"
method: GET
path: "/files/{sha256}"
tags: ["files"]
---

# Get file info by SHA256

`GET /files/{sha256}`

Returns file info (uuid, sha256, created_at, updated_at).

## Response `200`

File info

- File
  - `uuid` string, uuid, required — A UUID string
  - `sha256` string, required — SHA256 hash of the file content
  - `size` integer, required — File size in bytes; -1 if unknown
  - `created_at` string, date-time, required — When the file was first uploaded by this namespace
  - `updated_at` string, date-time, required — Updated on each upload of the same file

## Other responses

- `401` — Unauthorized - Invalid or missing authentication credentials. Either the `Authorization` bearer token is missing or invalid, or the `Project` header is missing.
- `403` — Forbidden - Token does not have sufficient permissions
- `404` — Not Found - The requested resource 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)
