Skip to main content

Describe On-Demand Cluster (V2)

Public Preview

Describe the details of a specific on-demand cluster in the current project.

GET/v2/clusters/onDemandClusters/{CLUSTER_ID}
Connection Endpoint

The base URL for this API is in the following format:

https://api.cloud.zilliz.com

📘Notes

The endpoints on the control plane currently supports up to 20 requests per second per user per endpoint.

shell
export BASE_URL="https://api.cloud.zilliz.com"
Parameters
Authorizationstringheaderrequired

The authentication token should be an API key with appropriate privileges.

Example Value: Bearer {{TOKEN}}
Acceptstringheader

Use application/json.

Example Value: application/json
CLUSTER_IDstringpathrequired

The ID of the cluster to describe.

Example Value: inxx-xxxxxxxxxxxxxxx
bash
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"
Responses

Returns the details of a specific on-demand cluster.

codeinteger<int32>

Response code.

dataobject

Details of the current cluster

clusterIdstring

ID of the query cluster.

clusterNamestring

Name of the query cluster.

descriptionstring

Description of the query cluster.

regionIdstring

ID of the region where the query cluster resides.

projectIdstring

ID of the project the query cluster belongs to.

cuSizeinteger<int32>

CU size of the query cluster.

statusstring

Status of the query cluster: CREATING, SUSPENDED, RESUMING, RUNNING, or SUSPENDING.

Example Value: SUSPENDED
endpointstring

Endpoint of the query cluster.

privateLinkstring

Private link address of the query cluster.

createdBystring

User who created the query cluster.

createTimestring

Cluster creation time in UTC ISO-8601 format

autoSuspendinteger<int32>

Auto-suspend idle timeout in seconds.

keepWarmActiveboolean

Whether a keep-warm window is currently active.

keepWarmobject

Keep-warm schedule configuration; null when no schedule is configured.

enabledboolean

Whether the keep-warm schedule is enabled.

systemTimezonestring

Organization system time zone (IANA) in which the schedules are interpreted.

Example Value: Asia/Shanghai
schedulesarray

Keep-warm schedule windows.

[]schedulesobject

Scheduled autoscaling target.

cronstring

Cron expression defining when the schedule applies.

targetinteger<int64>

Target value applied when the schedule fires.

timezonestring

Timezone of the cron schedule.

nextTransitionAtstring

Next planned window boundary in RFC 3339 UTC; null when there is none.

nextTransitionTypestring

Meaning of nextTransitionAt: START or END of a keep-warm window; null when there is no next transition.

json
{
"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
}
}
json
{
"code": 21119,
"message": "The apikey is illegal."
}