---
title: "List files"
method: GET
path: "/v1/files"
tags: ["files"]
---

# List files

`GET /v1/files`

## Query parameters

- `provider` string
- `purpose` string
- `after` string
- `limit` integer

## Response `200`

OK

- CoreFileListResponse
  - `data` 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
  - `has_more` boolean
  - `object` string

## Other responses

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

## Changes

- **2026-08-22** `496ff50bdfef` — 4 info
  - added the optional property `error/provider` to the response with the `400` status
  - added the optional property `error/provider` to the response with the `401` status
  - added the optional property `error/provider` to the response with the `404` status
  - added the optional property `error/provider` to the response with the `502` status
- **2026-04-19** `1a90f5d80e5a` — 24 warning, 4 info
  - removed the optional property `code` from the response with the `400` status
  - removed the optional property `code` from the response with the `401` status
  - removed the optional property `code` from the response with the `404` status
  - removed the optional property `code` from the response with the `502` status
  - …24 more

[Change history](https://skmtc.dev/enterpilot/apis/gomodel-api/changes/v1/files/get.md)

---

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