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
{
"cluster_id": "string",
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
cluster_id |
string Required field. ID of the cluster that models belongs to. |
page_size |
int64 The maximum number of results per page to return. If the number of available |
page_token |
string Page token. To get the next page of results, set |
ListMlModelsResponse
{
"ml_models": [
{
"name": "string",
"cluster_id": "string",
"type": "MlModelType",
"uri": "string"
}
],
"next_page_token": "string"
}
Field |
Description |
ml_models[] |
List of models in the specified cluster. |
next_page_token |
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. |
cluster_id |
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. |