Lists CachedContents.
HTTP request
GET https://generativelanguage.googleapis.com/v1beta/cachedContents
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The maximum number of cached contents to return. The service may return fewer than this value. If unspecified, some default (under maximum) number of items will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
pageToken |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
Response with CachedContents list.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"cachedContents": [
{
object ( |
Fields | |
---|---|
cachedContents[] |
List of cached contents. |
nextPageToken |
A token, which can be sent as |