Skip to main content
The virtual filesystem is where everything comes together. Connected integrations and source views surface their data as files and directories that you can list, read, and inspect β€” just like a local filesystem.

List a directory

Output might look like:
Drill into subdirectories by passing a deeper path:

Read a file

For large files, use byte-range reads:

Get a directory tree

tree() returns a recursive listing of all files and directories under a path. Useful for getting a full picture of what’s available:
For large trees, use pagination:

Check file metadata

stat() returns metadata for a single file or directory without reading its contents:

Typical pattern: search and read

Combine source views with filesystem reads to build search workflows:

Next steps

Tokens and mounting

Generate tokens so users can mount the filesystem locally.

Filesystem reference

Full method reference for client.fs.