獲取向量儲存的信息
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