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

# Get file metadata

`GET /v1/files/{id}`

## Path parameters

- `id` string, required

## Query parameters

- `provider` string

## Response `200`

OK

- CoreFileObject
  - `bytes` integer
  - `created_at` integer
  - `filename` string
  - `id` string
  - `object` string
  - `provider` string — Gateway enrichment for multi-provider deployments.
  - `purpose` string
  - `status` string
  - `status_details` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `502` — Bad Gateway

---

[API](https://skmtc.net/enterpilot/apis/gomodel-api.md) · [All operations](https://skmtc.net/enterpilot/apis/gomodel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/enterpilot/gomodel-api/revisions/4c27ea61fcfe/schema)
