Describe On-Demand Cluster (V2)
Public PreviewDescribe the details of a specific on-demand cluster in the current project.
The base URL for this API is in the following format:
https://api.cloud.zilliz.com
The endpoints on the control plane currently supports up to 20 requests per second per user per endpoint.
export BASE_URL="https://api.cloud.zilliz.com"
The authentication token should be an API key with appropriate privileges.
Use application/json.
The ID of the cluster to describe.
export TOKEN="YOUR_API_KEY"
export CLUSTER_ID="inxx-xxxxxxxxxxxxxxx"
curl --request GET \
--url "${BASE_URL}/v2/clusters/onDemandClusters/${CLUSTER_ID}" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Accept: application/json" \
--header "Request-Timeout: 5" \
--header "Content-Type: application/json"
Returns the details of a specific on-demand cluster.
Response code.
Details of the current cluster
ID of the query cluster.
Name of the query cluster.
Description of the query cluster.
ID of the region where the query cluster resides.
ID of the project the query cluster belongs to.
CU size of the query cluster.
Status of the query cluster: CREATING, SUSPENDED, RESUMING, RUNNING, or SUSPENDING.
Endpoint of the query cluster.
Private link address of the query cluster.
User who created the query cluster.
Cluster creation time in UTC ISO-8601 format
Auto-suspend idle timeout in seconds.
Whether a keep-warm window is currently active.
Keep-warm schedule configuration; null when no schedule is configured.
Whether the keep-warm schedule is enabled.
Organization system time zone (IANA) in which the schedules are interpreted.
Keep-warm schedule windows.
Scheduled autoscaling target.
Cron expression defining when the schedule applies.
Target value applied when the schedule fires.
Timezone of the cron schedule.
Next planned window boundary in RFC 3339 UTC; null when there is none.
Meaning of nextTransitionAt: START or END of a keep-warm window; null when there is no next transition.
{
"code": 0,
"data": {
"projectId": "proj-xxxxxxxxxxxxxxxxxx",
"clusterId": "inxx-xxxxxxxxxxxxxxx",
"clusterName": "Cluster-01",
"regionId": "aws-us-west-2",
"cuSize": 8,
"status": "RUNNING",
"endpoint": "https://proj-xxxxxxxxxxxxxxx.aws-us-west-2.api.zillizcloud.com",
"privateLink": "",
"createdBy": "john.doe@zilliz.com",
"createTime": "2024-04-21T10:15:15Z",
"autoSuspend": 60
}
}
{
"code": 21119,
"message": "The apikey is illegal."
}