Required. The parent, which owns this collection of cached contents.
Query parameters
pageSize
integer
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
string
Optional. A page token, received from a previous cachedContents.list call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to cachedContents.list must match the call that provided the page token.
Request body
The request body must be empty.
Response body
Response with a list of CachedContents.
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[],null,["# Method: cachedContents.list\n\n**Full name**: projects.locations.cachedContents.list\n\nLists cached contents in a project \n\n### Endpoint\n\nget `https:``/``/{service-endpoint}``/v1beta1``/{parent}``/cachedContents` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`parent` `string` \nRequired. The parent, which owns this collection of cached contents.\n\n### Query parameters\n\n`pageSize` `integer` \nOptional. 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.\n`pageToken` `string` \nOptional. A page token, received from a previous `cachedContents.list` call. Provide this to retrieve the subsequent page.\n\nWhen paginating, all other parameters provided to `cachedContents.list` must match the call that provided the page token.\n\n### Request body\n\nThe request body must be empty. \n\n### Response body\n\nResponse with a list of CachedContents.\n\nIf successful, the response body contains data with the following structure:\nFields `cachedContents[]` `object (`[CachedContent](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.cachedContents#CachedContent)`)` \nList of cached contents.\n`nextPageToken` `string` \nA token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages."]]