Create Free Cluster
Create free cluster. Currently, you can create a free cluster on Zilliz Cloud. For the number of clusters that can be created, please refer to the Zilliz Cloud Limits.
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
.
Name of the cluster to create.
ID of the project to which the cluster belongs.
ID of the cloud region hosting the cluster.
export TOKEN="YOUR_API_KEY"
curl --request POST \
--url "${BASE_URL}/v2/clusters/createFree" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
-d '{
"clusterName": "Free-01",
"projectId": "proj-xxxxxxxxxxxxxxxxxxxxxx",
"regionId": "gcp-us-west1"
}'
Response code.
Response payload.
ID of the cluster created.
Name of the cluster administration user.
Password of the cluster administration user. The password will not be displayed again. Please note it down and securely store it.
Prompt messages returned.
Returns an error message.
Response code.
Error message.
{
"code": 0,
"data": {
"clusterId": "inxx-xxxxxxxxxxxxxxx",
"username": "db_xxxxxxxx",
"password": "*************",
"prompt": "successfully submitted, cluster is being created. You can access data about the creation progress and status of your cluster by DescribeCluster API. Once the cluster status is RUNNING, you may access your vector database using the SDK with the admin account and the initial password you specified."
}
}