> ## Documentation Index
> Fetch the complete documentation index at: https://docs.moorcheh.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Files

> List indexed files using the Python client

## files.list

List indexed files in a text namespace.

```python theme={null}
client.files.list(namespace_name: str) -> dict[str, Any]
```

**API:** `GET /namespaces/{namespace_name}/files` — see [List files](/on-prem/api-references/files/list)

### Examples

```python theme={null}
from moorcheh import MoorchehClient

with MoorchehClient("http://localhost:8080") as client:
    resp = client.files.list("my-documents")
    for f in resp.get("files", []):
        print(f["file_id"], f["filename"], f["status"])
```

## Related Operations

* [Get File](/on-prem/python-client/files/file-get)
* [Delete File](/on-prem/python-client/files/delete-file)
