Get explicit cache
GET
/v1/cachedContents/{id}Get metadata for a cache you own.
/v1 is the default version; equivalent /v1beta paths remain supported.
Authentication
Send your Token360 API key in x-goog-api-key.
Path Parameters
idstringrequiredThe ID segment of the name returned at creation. Treat it as opaque.
Response
namestringCache resource name: cachedContents/{id}. Save it for subsequent operations.
modelstringModel name in models/{model} form.
displayNamestringDisplay label, when returned.
createTimestringCreation timestamp (RFC3339), when returned.
updateTimestringLast update timestamp (RFC3339), when returned.
expireTimestringExpiration timestamp (RFC3339), when returned.
usageMetadataobjectCache usage information, when returned.
usageMetadata.totalTokenCountintegerNumber of cached tokens, when returned.
A missing or expired cache, or a cache belonging to another identity, returns 404. This operation requires access to the cache's model.
¿Ha sido de ayuda?