Create StagePrivate Preview
This operation creates a new stage in the specified 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.
This endpoint is currently in Public Preview. If you have encountered any issue related to this endpoint, please contact Zilliz Cloud support.
export BASE_URL="https://api.cloud.zilliz.com"
The authentication token should be an API key with appropriate privileges or a pair of colon-joined username and password, like username:password
.
The ID of the project to which the stage belongs.
The ID of the region where the stage will be created. You can use List Cloud Regions to list available regions.
The name of the stage to create.
export TOKEN="YOUR_API_KEY"
curl --request POST \
--url "${BASE_URL}/v2/stages/create" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Content-Type: application/json" \
-d '{
"projectId": "proj-xxxxxxxxxxxxxxxxxxxxxxx",
"regionId": "us-west-1",
"stageName": "my_stage"
}'
Returns a list of stages.
Response code.
The name of the created stage.
Returns an error message.
Response code.
Error message.
{
"code": 0,
"data": {
"stageName": "mysql-stage"
}
}