Execution cluster list
List execution clusters with pagination.
POST /api/open/v1/cluster/listClusters
Requires the “DataSource Manage” or “Query Settings Manage” permission.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| pageNumber | Integer | Yes | Page number, starting at 1. |
| pageSize | Integer | Yes | Number of records per page, from 1 to 100. |
Response fields
| Fields in data | Type | Description |
|---|---|---|
| items | Array of objects | Records on the current page. |
| items[].clusterId | Integer | Execution cluster ID. |
| items[].clusterName | String | Cluster name. |
| items[].clusterDesc | String or null | Cluster description. |
| items[].runningCount | Integer | Number of running workers. |
| total | Integer | Total number of visible records that match the criteria. |
Request example
{
"pageNumber": 1,
"pageSize": 20
}
Response example
{
"requestId": "3082fb98-280a-5bfe-9bb5-af9c9476a058",
"code": "OK",
"msg": "Request succeeded.",
"data": {
"items": [
{
"clusterId": 5,
"clusterName": "Development cluster",
"clusterDesc": "Execution cluster for the development environment",
"runningCount": 1
}
],
"total": 1
}
}