Required. The resource name of the parent Data Store, such as projects/*/locations/global/collections/default_collection/dataStores/default_data_store. This field is used to identify the data store where to fetch the models from.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
metrics
map (key: string, value: number)
The metrics of the trained model.
errorMessage
string
Currently this is only populated if the model state is INPUT_VALIDATION_FAILED.
ModelState
The state of the model.
Enums
MODEL_STATE_UNSPECIFIED
Default value.
TRAINING_PAUSED
The model is in a paused training state.
TRAINING
The model is currently training.
TRAINING_COMPLETE
The model has successfully completed training.
READY_FOR_SERVING
The model is ready for serving.
TRAINING_FAILED
The model training failed.
NO_IMPROVEMENT
The model training finished successfully but metrics did not improve.
INPUT_VALIDATION_FAILED
Input data validation failed. Model training didn't start.
[[["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-08-26 UTC."],[[["\u003cp\u003eThis document describes how to retrieve a list of custom models from a specified data store using a \u003ccode\u003eGET\u003c/code\u003e HTTP request to the provided URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003edataStore\u003c/code\u003e path parameter, which identifies the parent data store, and the request body must be empty.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful responses will contain a JSON object that lists the custom models, each with details like name, display name, version, state, creation time, training start time, metrics, and any error messages.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope, and the \u003ccode\u003ediscoveryengine.dataStores.listCustomModels\u003c/code\u003e IAM permission on the \u003ccode\u003edataStore\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eCustom model states can be one of the following: \u003ccode\u003eMODEL_STATE_UNSPECIFIED\u003c/code\u003e, \u003ccode\u003eTRAINING_PAUSED\u003c/code\u003e, \u003ccode\u003eTRAINING\u003c/code\u003e, \u003ccode\u003eTRAINING_COMPLETE\u003c/code\u003e, \u003ccode\u003eREADY_FOR_SERVING\u003c/code\u003e, \u003ccode\u003eTRAINING_FAILED\u003c/code\u003e, \u003ccode\u003eNO_IMPROVEMENT\u003c/code\u003e, or \u003ccode\u003eINPUT_VALIDATION_FAILED\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.collections.dataStores.customModels.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListCustomModelsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [CustomTuningModel](#CustomTuningModel)\n - [JSON representation](#CustomTuningModel.SCHEMA_REPRESENTATION)\n- [ModelState](#ModelState)\n\nGets a list of all the custom models.\n\n### HTTP request\n\n`GET https://discoveryengine.googleapis.com/v1beta/{dataStore=projects/*/locations/*/collections/*/dataStores/*}/customModels`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for [SearchTuningService.ListCustomModels](/generative-ai-app-builder/docs/reference/rest/v1beta/projects.locations.collections.dataStores.customModels/list#google.cloud.discoveryengine.v1beta.SearchTuningService.ListCustomModels) method.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `dataStore` resource:\n\n- `discoveryengine.dataStores.listCustomModels`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs).\n\nCustomTuningModel\n-----------------\n\nMetadata that describes a custom tuned model.\n\nModelState\n----------\n\nThe state of the model."]]