Gemini File Manager icon

Gemini File Manager

Manage files with Google Gemini Files API - upload, list, and manage files for AI workflows

File → Upload

AI-generated

Summary

Upload files to the Gemini Files API.

Inputs

  • inputType (required) — Select the method for uploading files: from a binary data field or from a URL.
  • binaryPropertyName (required) — Name of the binary property containing the file data (only required if uploading from binary data).
  • fileUrl (required) — The URL of the file to upload (only required if uploading from a URL).
  • displayName — Optional display name for the uploaded file.
  • additionalOptions — Additional configuration options, including timeout for the upload.

Output shape

a single record

Returns the details of the uploaded file.

Examples

Example 1: Upload a file from a binary field

Set 'inputType' to 'binary', specify 'binaryPropertyName' to reference the binary property, and optionally provide a 'displayName'.

Example 2: Upload a file from a URL

Set 'inputType' to 'url', provide the URL in 'fileUrl', and optionally specify a 'displayName'.

Discussion