list_files
List files found on disk under the document roots, plus indexed data/url sources.
Instructions
List files found on disk under the document roots, plus indexed data/url sources.
Each disk file is reported with a state: "ingested" (index matches disk), "stale" (changed on disk since it was indexed), "stale_scheme" (unchanged on disk, but indexed under an older chunking scheme, so its vectors are not comparable with current ones), "not_ingested" (never indexed), or "unreadable" (indexed and still on disk, but of a type this installation cannot read because an optional extra is absent — images need [ocr]). Everything but "ingested" and "unreadable" needs a sync_start; an "unreadable" source is kept as indexed and no sync can refresh it here. "stale_scheme" is the per-source view of what status reports as staleChunkCount. Data and url sources have no disk state to compare against, so they are "ingested" or "stale_scheme".
unlistedFolders names each folder the scan could not see into (no read permission, a missing or unmounted drive), with what to do about it. Indexed files under one are listed as "unlisted": still indexed and searchable, not checked against the disk.
labels, dateFrom and dateTo filter as in query_documents;
sort="date" lists newest first, documents without a date last. Rows
carry labels and date when present.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | ||
| scope | No | ||
| dateTo | No | ||
| labels | No | ||
| dateFrom | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||