---
title: "Get Entity File Meta"
method: GET
path: "/api/v1/entity-files/{file_id}"
tags: ["entity-files"]
---

# Get Entity File Meta

`GET /api/v1/entity-files/{file_id}`

Name, extension, and size — what the compact File cell renders.

Costs no S3 read. `/preview` is the only route that fetches bytes for a
rendering decision.

## Path parameters

- `file_id` string, uuid, required

## Query parameters

- `app_id` string, uuid, nullable
- `embed_host_app_id` string, uuid, nullable

## Response `200`

Successful Response

- EntityFileMeta — What the compact File-cell form needs, and nothing more. Deliberately carries NO preview kind. Deciding "is this a spreadsheet" requires parsing it (CSV has no magic header), so a cheap answer here would disagree with `/preview` on exactly the ambiguous files. `ext` drives the cell's ICON only — cosmetic, and allowed to be wrong. Every rendering decision comes from `/preview`.
  - `id` string, uuid, required
  - `name` string, required
  - `ext` string, required
  - `size_bytes` integer, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-28** `eed6fb164abd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/netter/apis/dmi-backend/changes/api/v1/entity-files/:file_id/get.md)

---

[API](https://skmtc.dev/netter/apis/dmi-backend.md) · [All operations](https://skmtc.dev/netter/apis/dmi-backend/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/netter/dmi-backend/revisions/eed6fb164abd/schema)
