Search
Search Files and Folders (List)
Trelae lets you list all files and folders in a namespace, filter by location, or search files by keyword.
How It Works
- List — Browse all files and folders in a namespace with optional filters like location, page, and limit.
- Search — Find specific files by name or keyword using a query string.
Both actions return:
files
: An array of files.folders
: An array of folders found in the same location.
Pagination helps you control how many results to load and which page you’re on.
When you don’t provide a query, you get a full list (optionally filtered by location).
When you do provide a query, you get only files matching your keyword.
You can use the SDK or direct API to list or search files and folders: