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

# List user files

`GET /v1/files`

## Query parameters

- `limit` integer
- `purpose` 'batch' | 'fine-tune' | 'history'
- `ai_project_id` string, nullable — Project ID to list files for

## Response `200`

Successful Response

- ListFilesResponse
  - `data` OpenAIFile[], required
    - `id` string, required
    - `bytes` integer, required
    - `created_at` integer, required
    - `filename` string, required
    - `object` string
    - `purpose` string, required
    - `status` string, nullable
    - `status_details` string, nullable
  - `object` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/nebius/apis/nebius-openai-compatible-inference-api.md) · [All operations](https://skmtc.net/nebius/apis/nebius-openai-compatible-inference-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nebius/nebius-openai-compatible-inference-api/revisions/0fb323abba3c/schema)
