Actions16
- Content Actions
- Cached Content Actions
- Embedding Actions
- File Actions
- Model Actions
- Token Actions
File → Get
AI-generatedSummary
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.