> ## 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.

# moorcheh list-files

> List indexed files in a text namespace.

## Synopsis

```bash theme={null}
moorcheh list-files --namespace-name NAME [--base-url URL]
```

## Example

```bash theme={null}
moorcheh list-files --namespace-name my-documents
```

Prints JSON from `GET /namespaces/{namespace_name}/files`. Use `file_id` from the output with [moorcheh delete-file](/on-prem/cli/files/delete-file) or [moorcheh file-get](/on-prem/cli/files/file-get).

## Related

* [API: List files](/on-prem/api-references/files/list)
