Actions18
File → List
AI-generatedSummary
List files and folders in a Sahabaa drive, applying filters for workspace, parent folder, entry type, star/trashed/recent status, sharing, pagination, and sorting.
Inputs
- fileListOptions — Collection of filtering and pagination options for the list operation
Output shape
array
Returns an array of file/folder entry objects from the Sahabaa API, each containing metadata such as ID, name, type, size, and modification time.
Examples
Example 1: List root contents of personal drive
Leave workspaceId and parentId at default (0); no type or other filters applied.
Example 2: List images in a specific folder
Set parentId to the target folder's ID, type to 'image', and adjust perPage/page as needed.