Lấy thông tin lưu trữ vector

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-07-03T18:49:01.571Z",
  "modified": "2025-07-03T18:49:01.571Z"
}

Ví dụ Yêu Cầu

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

Thay thế YOUR_API_KEY bằng khóa API Vector Store thực tế của bạn.

Định dạng Phản hồi

{
  "id": "vs_abc123",
  "name": "Cửa hàng Vector của Tôi",
  "description": "Một cửa hàng vector cho tài liệu sản phẩm",
  "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ác thực

Điểm cuối này yêu cầu xác thực bằng cách sử dụng khóa API trong tiêu đề x-api-key.

Phản hồi lỗi

Mã trạng thái
Mô tả

401

Không được phép - Khóa API không hợp lệ hoặc bị thiếu

404

Không tìm thấy - Không tìm thấy Vector Store

500

Lỗi máy chủ nội bộ

Điểm cuối này truy xuất thông tin về vector store liên kết với khóa API đã cung cấp. Nó hữu ích cho việc kiểm tra chi tiết cấu hình, bao gồm mô hình nhúng, kích thước chiều và chỉ số tìm kiếm đang được sử dụng. Thông tin này có thể có giá trị cho việc tối ưu hóa truy vấn tìm kiếm và hiểu khả năng của vector store.

Last updated