# List Files

For guidance and examples, see [Manage files](/guides/upload-your-data-manage-files#list-files-in-an-assistant).

```bash curl theme={null}
PINECONE_API_KEY="YOUR_API_KEY"
ASSISTANT_NAME="example-assistant"

curl -X GET "https://prod-1-data.ke.pinecone.io/assistant/files/$ASSISTANT_NAME" \
  -H "Api-Key: $PINECONE_API_KEY" \
  -H "X-Pinecone-Api-Version: 2025-10"
```

`GET /files/{assistant_name}`

:::code-group
```bash title="cURL"
curl --request GET \
  --url https://{assistant_host}/files/{assistant_name} \
  --header 'Authorization: Bearer <token>'
```

```json title="200"
{
  "files": [
    {
      "name": "<string>",
      "id": "<string>",
      "metadata": {},
      "created_on": "<string>",
      "updated_on": "<string>",
      "status": "<string>",
      "percent_done": 123,
      "signed_url": "https://storage.googleapis.com/bucket/file.pdf?...",
      "error_message": "<string>",
      "multimodal": true
    }
  ]
}
```
:::

## Authorizations

- `Authorization` (header, string, required) — Bearer authentication header of the form `Bearer <token>`.

## Path Parameters

- `assistant_name` (path, string, required) — The name of the assistant to list files for.

## Query Parameters

- `filter` (query, string) — Optional JSON-encoded metadata filter for files.

## Headers

- `X-Pinecone-Api-Version` (header, string, required) — Required date-based version header

## Response

- `200` — This operation returns a list of all files that you have previously uploaded, and which are associated with the given assistant name.
- `401` — Unauthorized. Possible causes: Invalid API key.
- `404` — Assistant not found.
- `500` — Internal server error.

## Related pages

- [Account management](./account-management-index.md)
- [Admin](./admin-2-index.md)
- [Admin](./admin-index.md)
- [APIs](./apis-index.md)
- [Architecture](./architecture-index.md)
- [Assistants](./assistants-index.md)
- [Bring Your Own Cloud](./bring-your-own-cloud-index.md)
- [Build an assistant](./build-an-assistant-index.md)
- [Build an integration](./build-an-integration-index.md)
- [Changelog](./changelog-index.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
