---
title: "One file."
method: GET
path: "/v1/files/{id}"
---

# One file.

`GET /v1/files/{id}`

## Request

- Base URL: `https://api.lumeta.ai`
- URL: `https://api.lumeta.ai/v1/files/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

OK

- File
  - `id` string
  - `filename` string
  - `source` string
  - `project` string, nullable
  - `created_at` string
  - `type` 'image' | 'video' | 'audio' | 'other'
  - `url` string: Durable https URL of the stored file.
  - `mime` string, nullable
  - `width` integer
  - `height` integer
  - `duration` number: Seconds, for audio and video.
  - `size` integer: Bytes.

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/lumeta/apis/lumeta-api.md) · [All operations](https://skmtc.dev/lumeta/apis/lumeta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lumeta/apis/lumeta-api/revisions/9b84c0fe886e?raw)
