ベクターストアの情報を取得
get
Retrieve information about the vector store associated with the API key.
Header parameters
x-api-keystringRequired
The API key for authentication.
Responses
200
Vector store information retrieved successfully.
application/json
get
/vector-stores/me200
Vector store information retrieved successfully.
例のリクエスト
curl -X GET \
https://api.rememberizer.ai/api/v1/vector-stores/me \
-H "x-api-key: YOUR_API_KEY"const getVectorStoreInfo = async () => {
const response = await fetch('https://api.rememberizer.ai/api/v1/vector-stores/me', {
method: 'GET',
headers: {
'x-api-key': 'YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data);
};
getVectorStoreInfo();import requests
def get_vector_store_info():
headers = {
"x-api-key": "YOUR_API_KEY"
}
response = requests.get(
"https://api.rememberizer.ai/api/v1/vector-stores/me",
headers=headers
)
data = response.json()
print(data)
get_vector_store_info()レスポンス形式
認証
このエンドポイントは、x-api-key ヘッダーを使用して API キーによる認証を必要とします。
エラー応答
ステータスコード
説明
401
認証エラー - 無効または欠落しているAPIキー
404
未検出 - ベクトルストアが見つかりません
500
サーバ内部エラー
このエンドポイントは、提供されたAPIキーに関連付けられたベクトルストアに関する情報を取得します。これは、埋め込みモデル、次元数、および使用されている検索メトリックを含む構成の詳細を確認するのに役立ちます。この情報は、検索クエリの最適化やベクトルストアの機能を理解するために貴重です。
Last updated