Actions24
- Audio Actions
- Image Actions
- Video Actions
- Animate Mix | 视频换人
- Animate Move | 图生动作
- Emoji Video | Emoji 视频生成
- Image to Video (First & Last Frames) | 图生视频(首尾帧)
- Image to Video (First Frame) | 图生视频(首帧)
- Video Continuation | 视频续写
- Reference to Video | 参考生视频(wan2.6)
- Text to Video | 文生视频
- Video Editing & Effects | 视频编辑与特效
- Video Retalk (Lip Sync) | VideoRetalk 口型复刻
- Task Actions
- Vision Actions
- File Actions
File → Get Many | 列出文件
AI-generatedSummary
List files from the Aliyun Bailian service, optionally within a specific workspace, supporting pagination and different output formats.
Inputs
- workspaceId — Optional workspace ID to restrict the file listing to a specific workspace if your account or region requires it.
- returnAll — Whether to automatically fetch all pages of files instead of one page.
- listOutputMode (required) — Choose the output format: either a flat list of file items or raw page envelopes preserving pagination metadata.
- limit — When Return All is disabled and Output Mode is items only, limit the maximum number of files returned (1-1000).
- pageNo — The page number to start listing files from (minimum 1).
- pageSize — The number of files to return per page (1-100).
Output shape
a list of file items or a list of page envelope objects, depending on Output Mode
If Return All is true, all pages will be retrieved automatically until completion. If Output Mode is 'items', the output contains one entry per file; if 'envelope', one entry per page including pagination metadata like total items, page number, and page size.
Examples
Example 1: List up to 50 files from page 1, returning a flat list of file items
returnAll=false, limit=50, pageNo=1, pageSize=20, listOutputMode='items'
Example 2: Fetch all files automatically, returning pagination envelopes
returnAll=true, listOutputMode='envelope'