メインコンテンツまでスキップ

Serverless Cluster の作成 (V2)

serverless clusterを作成します。

POST/v2/clusters/createServerless
接続エンドポイント

https://api.cloud.zilliz.com

shell
export BASE_URL="https://api.cloud.zilliz.com"
パラメータ
Authorizationstringheader必要

認証トークンには、適切な権限を持つ API key を使用する必要があります。

値の例: Bearer {{TOKEN}}
Acceptstringheader

application/json を使用します。

値の例: application/json
リクエスト・ボディ
clusterNamestring必要

作成するクラスターの名前。

descriptionstring

クラスターの説明。

値の例: Production vector search cluster
projectIdstring必要

クラスターが属するプロジェクトの ID。

値の例: proj-xxxxxxxxxxxxxxxxxxxx
レスポンス

作成されたクラスターの詳細情報を返します。

codeinteger

レスポンスコード。

dataobject

レスポンスペイロード。

clusterIdstring

作成されたクラスターの ID。

usernamestring

クラスター管理ユーザーの名前。

passwordstring

クラスター管理ユーザーのパスワード。このパスワードはクラスター作成時に一度だけ表示されます。今後使用できるよう、安全な場所に記録しておくことを推奨します。

promptstring

返されるプロンプトメッセージ。

エラーメッセージを返します。

codeinteger

レスポンスコード。

messagestring

エラーメッセージ。

Successjson
{
"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."
}
}
Ctrl I