[Документация Yandex Cloud](../../../../index.md) > [Yandex Managed Service for ClickHouse®](../../../index.md) > Справочник API > [gRPC (англ.)](../index.md) > [MlModel](index.md) > List

# Managed Service for ClickHouse API, gRPC: MlModelService.List

Retrieves the list of machine learning models in the specified cluster.

## gRPC request

**rpc List ([ListMlModelsRequest](#yandex.cloud.mdb.clickhouse.v1.ListMlModelsRequest)) returns ([ListMlModelsResponse](#yandex.cloud.mdb.clickhouse.v1.ListMlModelsResponse))**

## ListMlModelsRequest {#yandex.cloud.mdb.clickhouse.v1.ListMlModelsRequest}

```json
{
  "cluster_id": "string",
  "page_size": "int64",
  "page_token": "string"
}
```

#|
||Field | Description ||
|| cluster_id | **string**

Required field. ID of the cluster that models belongs to.

The maximum string length in characters is 50. ||
|| page_size | **int64**

The maximum number of results per page to return. If the number of available
results is larger than `page_size`, the service returns a [ListMlModelsResponse.next_page_token](#yandex.cloud.mdb.clickhouse.v1.ListMlModelsResponse)
that can be used to get the next page of results in subsequent list requests.

Default value: 100.

The maximum value is 1000. ||
|| page_token | **string**

Page token. To get the next page of results, set `page_token` to the
[ListMlModelsResponse.next_page_token](#yandex.cloud.mdb.clickhouse.v1.ListMlModelsResponse) returned by the previous list request.

The maximum string length in characters is 100. ||
|#

## ListMlModelsResponse {#yandex.cloud.mdb.clickhouse.v1.ListMlModelsResponse}

```json
{
  "ml_models": [
    {
      "name": "string",
      "cluster_id": "string",
      "type": "MlModelType",
      "uri": "string"
    }
  ],
  "next_page_token": "string"
}
```

#|
||Field | Description ||
|| ml_models[] | **[MlModel](#yandex.cloud.mdb.clickhouse.v1.MlModel)**

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
the specified [ListMlModelsRequest.page_size](#yandex.cloud.mdb.clickhouse.v1.ListMlModelsRequest), use `next_page_token` as the value
for the [ListMlModelsRequest.page_token](#yandex.cloud.mdb.clickhouse.v1.ListMlModelsRequest) parameter in the next list request.
Each subsequent page will have its own `next_page_token` to continue paging through the results. ||
|#

## MlModel {#yandex.cloud.mdb.clickhouse.v1.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.

- `ML_MODEL_TYPE_CATBOOST`: CatBoost model. ||
|| uri | **string**

Model file URL. You can only use models stored in Object Storage. ||
|#