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

# List Files

`GET /v1/files`

Returns information about a specific file. that can be used across - Assistants API, Batch API 
This is the equivalent of GET https://api.openai.com/v1/files/

Supports Identical Params as: https://platform.openai.com/docs/api-reference/files/list

Example Curl
```
curl http://localhost:4000/v1/files        -H "Authorization: Bearer sk-1234"

```

## Query parameters

- `provider` string, nullable
- `target_model_names` string, nullable
- `purpose` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/flock/apis/litellm-api.md) · [All operations](https://skmtc.net/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flock/litellm-api/revisions/8fbaab4fc7c5/schema)
