[[["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.listVersions\n\n**Full name**: projects.locations.models.listVersions\n\nLists versions of the specified model. \n\n### Endpoint\n\nget `https:``/``/{service-endpoint}``/v1beta1``/{name}:listVersions` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`name` `string` \nRequired. The name of the model to list versions for.\n\n### Query parameters\n\n`pageSize` `integer` \nThe standard list page size.\n`pageToken` `string` \nThe standard list page token. Typically obtained via [nextPageToken](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.models/listVersions#body.ListModelVersionsResponse.FIELDS.next_page_token) of the previous [models.listVersions](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.models/listVersions#google.cloud.aiplatform.v1beta1.ModelService.ListModelVersions) call.\n`filter` `string` \nAn expression for filtering the results of the request. For field names both snake_case and camelCase are supported.\n\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\nSome examples:\n\n- `labels.myKey=\"myValue\"`\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`orderBy` `string` \nA comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields:\n\n- `createTime`\n- `updateTime`\n\nExample: `updateTime asc, createTime desc`.\n\n### Request body\n\nThe request body must be empty. \n\n### Response body\n\nResponse message for [ModelService.ListModelVersions](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.models/listVersions#google.cloud.aiplatform.v1beta1.ModelService.ListModelVersions)\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 Model versions in the requested page. In the returned Model name field, version id instead of regvision tag will be included.\n`nextPageToken` `string` \nA token to retrieve the next page of results. Pass to [ListModelVersionsRequest.page_token](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.models/listVersions#body.QUERY_PARAMETERS.page_token) to obtain that page."]]