Gemini AI Studio icon

Gemini AI Studio

Use the Google Gemini API through direct AI Studio REST calls

Actions16

File → Get

AI-generated

Summary

Retrieve metadata and details of a specific file stored in Gemini AI Studio by specifying its resource name.

Inputs

  • File Name (required) — The Gemini file resource name to retrieve, e.g., 'files/abc123'.

Output shape

a single JSON object containing the file's metadata and details

The output JSON includes all fields returned by Gemini's Files API for the specified file resource name.

Examples

Example 1: Get a Gemini file's metadata

Set Resource to 'File', Operation to 'Get', and provide the fileName parameter with the Gemini file resource name like 'files/abc123'. The node outputs the file details as JSON.

Links

Discussion