---
title: "Get file metadata"
method: GET
path: "/api/v1/files/{id}"
tags: ["Files"]
---

# Get file metadata

`GET /api/v1/files/{id}`

Get metadata for a reusable uploaded file.

## Path parameters

- `id` string, required — File id

## Response `200`

File metadata

- File
  - `id` string, required
  - `filename` string, required
  - `contentType` string, nullable, required
  - `size` integer, nullable, required
  - `purpose` string, nullable
  - `createdAt` union, required
    - string
    - string

## Other responses

- `400` — Validation error. Request shape did not match the spec.
- `401` — Missing or invalid API key
- `403` — API key lacks required scope
- `404` — Resource not found
- `413` — Payload too large. Upload exceeded the per-request size cap.
- `429` — Rate limit exceeded
- `500` — Internal server error

---

[API](https://skmtc.dev/eigenpal/apis/eigenpal-api.md) · [All operations](https://skmtc.dev/eigenpal/apis/eigenpal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eigenpal/eigenpal-api/revisions/dddcddf1975c/schema)
