Actions7
- File Actions
- Batch Actions
Batch → Upload Multiple
AI-generatedSummary
Upload multiple files to Gemini Files API.
Inputs
- binaryPropertyNames (required) — Comma-separated list of binary properties containing files to upload.
- additionalOptions — Optional parameters for additional upload options, including timeout and pagination settings.
Output shape
a list of uploaded file metadata
Each entry in the output list corresponds to an uploaded file, which may include success or error messages for each file.
Examples
Example 1: A user wants to upload three files stored in binary properties named 'file1', 'file2', and 'file3'. They specify these names in the 'binaryPropertyNames' input.
Set 'binaryPropertyNames' to 'file1,file2,file3'.
Example 2: A user wants to upload files with a specified timeout of 10 minutes, in addition to the files itself.
Set 'binaryPropertyNames' to 'file1,file2' and 'timeout' to 600000 in 'additionalOptions'.