Gemini Resources
Create Gemini cached content
Creates cached content for a current TokenLab Gemini model. Supported fields, resource references, and lifetime depend on the service and model; lowerCamelCase and the corresponding proto snake_case names are accepted. Resources can only be read, referenced, changed, or deleted in their owning Workspace. Missing, expired, or inaccessible resources return a Gemini-format error.
post/v1beta/cachedContents
Request
- Base URL: https://api.tokenlab.sh
- URL: https://api.tokenlab.sh/v1beta/cachedContents
- Auth: one of:
- HTTP bearer
- API key in header x-goog-api-key
Query parameters
keystring
API key alternative to Bearer or x-goog-api-key.
Headers
Idempotency-Keystring
Reuse the same key and request body when recovering a create response. A different body with the same key returns a conflict.
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.