獲取向量存儲信息

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
GET /api/v1/vector-stores/me HTTP/1.1
Host: api.rememberizer.ai
x-api-key: text
Accept: */*
200

Vector store information retrieved successfully.

{
  "id": "text",
  "name": "text",
  "description": "text",
  "embedding_model": "text",
  "indexing_algorithm": "text",
  "vector_dimension": 1,
  "search_metric": "text",
  "created": "2025-06-18T19:17:39.805Z",
  "modified": "2025-06-18T19:17:39.805Z"
}

範例請求

curl -X GET \
  https://api.rememberizer.ai/api/v1/vector-stores/me \
  -H "x-api-key: YOUR_API_KEY"

YOUR_API_KEY 替換為您的實際向量存儲 API 金鑰。

回應格式

{
  "id": "vs_abc123",
  "name": "我的向量儲存",
  "description": "產品文檔的向量儲存",
  "embedding_model": "sentence-transformers/all-mpnet-base-v2",
  "indexing_algorithm": "ivfflat",
  "vector_dimension": 128,
  "search_metric": "cosine_distance",
  "created": "2023-06-01T10:30:00Z",
  "modified": "2023-06-15T14:45:00Z"
}

認證

此端點需要使用 x-api-key 標頭中的 API 金鑰進行認證。

錯誤回應

狀態碼
描述

401

未授權 - 無效或缺失的 API 金鑰

404

找不到 - 向量儲存未找到

500

內部伺服器錯誤

此端點檢索與提供的 API 金鑰相關的向量儲存資訊。它對於檢查配置細節非常有用,包括使用的嵌入模型、維度和搜索指標。這些資訊對於優化搜索查詢和理解向量儲存的能力非常有價值。

Last updated