List Clusters
List all clusters scoped to API Key.
The base URL for this API is in the following format:
https://api.cloud.zilliz.com
export BASE_URL="https://api.cloud.zilliz.com"
The authentication token should be an API key with appropriate privileges.
Use application/json
.
The number of records to include in each response.
The current page number.
export TOKEN="YOUR_API_KEY"
curl --request GET \
--url "${BASE_URL}/v2/clusters" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Accept: application/json" \
--header "Content-Type: application/json"
Response code.
Response payload.
List of clusters in detail.
ID of a cluster.
Name of the cluster.
Description of the cluster.
ID of the cloud region hosting the cluster.
Subscription plan of the cluster.
CU type of the cluster.
This applies to dedicated clusters only. For free and serverless clusters, the value is empty.
CU size of the cluster. For free and serverless clusters, the value is always 0
.
Current status of the cluster.
Public endpoint of the cluster.
Private link of the cluster.
ID of the project to which the cluster belongs.
Time at which the cluster has been created.
Returns an error message.
Response code.
Error message.
{
"code": 0,
"data": {
"count": 1,
"currentPage": 1,
"pageSize": 10,
"clusters": [
{
"clusterId": "inxx-xxxxxxxxxxxxxxx",
"clusterName": "dedicated-3",
"description": "",
"regionId": "aws-us-west-2",
"plan": "Standard",
"cuType": "Performance-optimized",
"cuSize": 1,
"status": "RUNNING",
"connectAddress": "https://inxx-xxxxxxxxxxxxxxx.aws-us-west-2.vectordb.zillizcloud.com:19530",
"privateLinkAddress": "",
"createTime": "2024-06-30T16:49:50Z",
"projectId": "proj-xxxxxxxxxxxxxxxxxxxxxx"
}
]
}
}