Actions27
- Database Actions
- Storage Actions
Storage → List Files
AI-generatedSummary
List files in a Supabase storage bucket and optional folder.
Inputs
- Bucket (required) — Name of the storage bucket (select from list or enter manually).
- Folder Path — Path within the bucket to list files from (default: root of bucket).
- Limit — Maximum number of files to return (default: no limit).
- Offset — Number of files to skip before returning results (default: 0).
- Search — Filter files by name (default: no filter).
- Sort Column — Column to sort results by (default: 'name').
- Sort Order — Sort order: ascending or descending (default: 'asc').
Output shape
For each file found: an object containing the file's properties (id, name, metadata, timestamps, etc.) plus 'bucket' and 'folderPath'. If no files: a single object with operation='listFiles', bucket, folderPath, files=[], count=0, and message='No files found'.
Returns one item per file by default. Output format matches Supabase storage file object structure with added bucket and folderPath fields.
Examples
Example 1: List all files in the 'avatars' bucket root folder
Bucket: avatars