Google Gemini · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Gemini Cached Contents API

6 actions 6 updates phrasing extends openapi/google-gemini-cachedcontents-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Google Gemini's API. It is a proposal applied on top of the contract, not a document Google Gemini publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/v1beta/cachedContents'].get
$.paths['/v1beta/cachedContents'].post
$.paths['/v1beta/cachedContents/{cachedContentsId}'].get
$.paths['/v1beta/cachedContents/{cachedContentsId}'].delete
$.paths['/v1beta/cachedContents/{cachedContentsId}'].patch

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Gemini Cached Contents API
  version: 1.0.0
extends: openapi/google-gemini-cachedcontents-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-15'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/v1beta/cachedContents'].get
  update:
    x-apievangelist-phrasing:
      intent: List cached content entries
      effect: read
      questions:
      - Which cached content entries have I stored for faster generation?
      - Can I page through my cached content entries?
      instructions:
      - text: List my cached content entries.
      - text: Show {pageSize} cached content entries.
        slots:
          pageSize: query.pageSize
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v1beta/cachedContents'].post
  update:
    x-apievangelist-phrasing:
      intent: Cache a model response for faster reuse
      effect: write
      questions:
      - How do I cache a model response so I can reuse it later?
      - Can I set a time-to-live on cached content?
      instructions:
      - text: Cache {contents} for model {model}.
        slots:
          contents: requestBody.contents
          model: requestBody.model
      - text: Cache {contents} for model {model} with a {ttl} time-to-live.
        slots:
          contents: requestBody.contents
          model: requestBody.model
          ttl: requestBody.ttl
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v1beta/cachedContents/{cachedContentsId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a cached content entry
      effect: read
      questions:
      - What content is stored in a particular cached content entry?
      - Can I read one cached content entry by its ID?
      instructions:
      - text: Get cached content entry {cachedContentsId}.
        slots:
          cachedContentsId: path.cachedContentsId
      - text: Show the cached content stored in {cachedContentsId}.
        slots:
          cachedContentsId: path.cachedContentsId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v1beta/cachedContents/{cachedContentsId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a cached content entry
      effect: destructive
      questions:
      - How do I remove a cached content entry I no longer need?
      - Can I delete a cached content entry by its ID?
      instructions:
      - text: Delete cached content entry {cachedContentsId}.
        slots:
          cachedContentsId: path.cachedContentsId
      - text: Remove the cached content stored in {cachedContentsId}.
        slots:
          cachedContentsId: path.cachedContentsId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v1beta/cachedContents/{cachedContentsId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Extend the expiry of cached content
      effect: write
      questions:
      - Can I renew the expiry of cached content without recreating it?
      - What fields of a cached content entry are updatable?
      instructions:
      - text: Set the expiry of cached content {cachedContentsId} to {expireTime}.
        slots:
          cachedContentsId: path.cachedContentsId
          expireTime: requestBody.expireTime
      - text: Extend cached content {cachedContentsId} to expire at {expireTime}.
        slots:
          cachedContentsId: path.cachedContentsId
          expireTime: requestBody.expireTime
      method: generated
      generated: '2026-11-15'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/google-gemini-cachedcontents-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.