Skip to main content

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​

ParameterTypeRequiredDescription
pageNumberIntegerYesPage number, starting at 1.
pageSizeIntegerYesNumber of records per page, from 1 to 100.

Response fields​

Fields in dataTypeDescription
itemsArray of objectsRecords on the current page.
items[].clusterIdIntegerExecution cluster ID.
items[].clusterNameStringCluster name.
items[].clusterDescString or nullCluster description.
items[].runningCountIntegerNumber of running workers.
totalIntegerTotal 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
}
}