Managed Service for ClickHouse API, gRPC: MlModelService.List
Retrieves the list of machine learning models in the specified cluster.
gRPC request
rpc List (ListMlModelsRequest) returns (ListMlModelsResponse)
ListMlModelsRequest
{
"clusterId": "string",
"pageSize": "int64",
"pageToken": "string"
}
Field |
Description |
clusterId |
string Required field. ID of the cluster that models belongs to. |
pageSize |
int64 The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, set |
ListMlModelsResponse
{
"mlModels": [
{
"name": "string",
"clusterId": "string",
"type": "MlModelType",
"uri": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
mlModels[] |
List of models in the specified cluster. |
nextPageToken |
string Token for getting the next page of the list. If the number of results is greater than Each subsequent page will have its own |
MlModel
Field |
Description |
name |
string Name of the the model. |
clusterId |
string ID of the ClickHouse cluster that the model belongs to. |
type |
enum MlModelType Type of the model.
|
uri |
string Model file URL. You can only use models stored in Object Storage. |