BeDrive icon

BeDrive

Consume BeDrive API

List Files

AI-generated

Summary

List files in a specified folder within a selected workspace in BeDrive.

Inputs

  • workspaceId (required) — The workspace to use. Can be selected from a list of available workspaces or specified by ID.
  • folderPath — The folder to list files from. Select "/ (Root)" for the root directory or specify a folder path or ID. If omitted or root is selected, lists files at the root level.

Output shape

a list of file entries (JSON) each representing a file in the specified folder in the workspace

The operation returns an array of file objects (excluding folders) present in the specified folder path within the workspace. If no folder is specified or root folder is selected, only root-level files are listed. Each item merges with the incoming item JSON. Errors may be returned if the workspace ID is missing or the API response is invalid.

Links

Discussion