Gemini AI Studio icon

Gemini AI Studio

Use the Google Gemini API through direct AI Studio REST calls

Actions16

Cached Content → Get

AI-generated

Summary

Retrieve details of a specific cached content resource from the Gemini AI Studio API using its name.

Inputs

  • Cached Content Name (required) — The resource name identifier of the cached content to retrieve, e.g., 'cachedContents/abc123'.

Output shape

a single JSON object containing the cached content resource details

Returns one item with the cached content's JSON data under 'json'. The input parameter 'Cached Content Name' is required to specify which cached content to get.

Examples

Example 1: Get details of a cached content stored in Gemini AI Studio

Set resource to 'Cached Content', operation to 'Get', and provide the 'Cached Content Name' parameter with the target cached content resource name.

Links

Discussion