List explicit caches
GET
/v1/cachedContentsList caches you own and can access.
/v1 is the default version; equivalent /v1beta paths remain supported.
Authentication
Send your Token360 API key in x-goog-api-key.
Query Parameters
pageSizeintegerMaximum page size, from 1 to 100. Default: 100. Fewer caches may be returned.
pageTokenstringOpaque nextPageToken from the previous response. Omit for the first page.
Response
cachedContentsobject[]Cache metadata visible on this page. No cached prompt contents are returned.
cachedContents.namestringCache resource name: cachedContents/{id}. Save it for subsequent operations.
cachedContents.modelstringModel name in models/{model} form.
cachedContents.displayNamestringDisplay label, when returned.
cachedContents.createTimestringCreation timestamp (RFC3339), when returned.
cachedContents.updateTimestringLast update timestamp (RFC3339), when returned.
cachedContents.expireTimestringExpiration timestamp (RFC3339), when returned.
cachedContents.usageMetadataobjectCache usage information, when returned.
nextPageTokenstringContinuation token, omitted when there are no more pages.
¿Ha sido de ayuda?