[[["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: models.list\n\n**Full name**: projects.locations.models.list\n\nLists Models in a Location. \n\n### Endpoint\n\nget `https:``/``/{service-endpoint}``/v1beta1``/{parent}``/models` \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 resource name of the Location to list the Models from. Format: `projects/{project}/locations/{location}`\n\n### Query parameters\n\n`filter` `string` \nAn expression for filtering the results of the request. For field names both snake_case and camelCase are supported.\n\n- `model` supports = and !=. `model` represents the Model id, i.e. the last segment of the Model's [resource name](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.models#Model.FIELDS.name).\n- `displayName` supports = and !=\n- `labels` supports general map functions that is:\n - `labels.key=value` - key:value equality\n - \\`labels.key:\\* or labels:key - key existence\n - A key including a space must be quoted. `labels.\"a key\"`.\n- `base_model_name` only supports =\n\nSome examples:\n\n- `model=1234`\n- `displayName=\"myDisplayName\"`\n- `labels.myKey=\"myValue\"`\n- `baseModelName=\"text-bison\"`\n`pageSize` `integer` \nThe standard list page size.\n`pageToken` `string` \nThe standard list page token. Typically obtained via [ListModelsResponse.next_page_token](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.models/list#body.ListModelsResponse.FIELDS.next_page_token) of the previous [ModelService.ListModels](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.models/list#google.cloud.aiplatform.v1beta1.ModelService.ListModels) call.\n`readMask` `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` \nMask specifying which fields to read.\n\nThis is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`.\n\n### Request body\n\nThe request body must be empty. \n\n### Response body\n\nResponse message for [ModelService.ListModels](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.models/list#google.cloud.aiplatform.v1beta1.ModelService.ListModels)\n\nIf successful, the response body contains data with the following structure:\nFields `models[]` `object (`[Model](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.models#Model)`)` \nList of Models in the requested page.\n`nextPageToken` `string` \nA token to retrieve next page of results. Pass to [ListModelsRequest.page_token](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.models/list#body.QUERY_PARAMETERS.page_token) to obtain that page."]]