VECTOR-STORES

List Vector Stores

List all vector stores belonging to the current organization.

GET/v1/vector-stores

Authorization

Authorizationstringheaderrequired

Bearer token — your API key. Example: Bearer sk-...

Response

dataobject[]required

Array of vector store objects.

Request

const response = await fetch("https://api.scx.ai/v1/vector-stores", {
  headers: {
    "Authorization": "Bearer your-scx-api-key",
  },
});

const { data } = await response.json();
console.log(data);

Response

{
  "data": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "name": "my-vector-store",
      "description": null,
      "embeddingModel": "e5-mistral-7b-instruct",
      "dimensions": 4096,
      "distance": "Cosine",
      "status": "ready",
      "pointCount": 42,
      "totalBytes": 102400,
      "createdAt": "2025-01-15T10:30:00.000Z",
      "updatedAt": "2025-01-15T12:00:00.000Z",
      "organizationId": "org_abc123",
      "createdBy": "user_xyz789"
    }
  ]
}