AxAIGoogleGeminiCacheResponse Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxAIGoogleGeminiCacheResponse.md type AxAIGoogleGeminiCacheResponse

AxAIGoogleGeminiCacheResponse

TypeScript
type AxAIGoogleGeminiCacheResponse = object;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/google-gemini/types.ts#L368

Response from creating/getting a context cache.

Properties

createTime

TypeScript
createTime: string;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/google-gemini/types.ts#L376

When the cache was created (ISO 8601)


displayName?

TypeScript
optional displayName: string;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/google-gemini/types.ts#L372

Display name


expireTime

TypeScript
expireTime: string;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/google-gemini/types.ts#L380

When the cache expires (ISO 8601)


model

TypeScript
model: string;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/google-gemini/types.ts#L374

Model associated with the cache


name

TypeScript
name: string;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/google-gemini/types.ts#L370

Resource name of the cached content (e.g., “projects/…/locations/…/cachedContents/…”)


updateTime

TypeScript
updateTime: string;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/google-gemini/types.ts#L378

When the cache was last updated (ISO 8601)


usageMetadata?

TypeScript
optional usageMetadata: object;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/google-gemini/types.ts#L382

Token count of cached content

totalTokenCount

TypeScript
totalTokenCount: number;
Docs