Use this when the user asks about their own business data or numbers (sales, revenue, orders, customers, marketing, finance, product usage) and you need to find which of their tables holds it: their uploaded spreadsheets and files, and the data synced from their apps and databases. Not for data the user has not put in Infograph.
List the account's data items available for querying (the 100 most recent, or ALL of them when you pass a filter), including:
- Uploaded files (CSV, TSV, JSON, NDJSON, Excel, Parquet, SQLite, DuckDB)
- Google Sheets (connected via OAuth)
- Microsoft Excel Online worksheets (connected via OAuth)
- Synced streams from any connected source (type "sync"; connectorType names the provider)
Returns each item's id (its 8-character ref), fileName, fileType, type (file/sync/database), and metadata.
An item named "<upload> — <table>" is one table of an upload: to rename the whole upload, name it as an upload target.
A sync item with rowCount 0 synced successfully but the source has no records yet — not an error.
filter searches item names AND types across EVERY data item the account has, not just the recent window: any text copied from a name matches as-is, and regex works too ("^crm_export", "sales|orders", "sync"). A container's members share its name prefix, so one pattern lists a whole container. A filtered result carries matched (how many exist) and shown (how many came back) — narrow the pattern or raise limit when they differ.
Use the returned id (the ref) with previewFile, and as {{<ref>}} in sqlQuery — copy it, never retype it.