Skip to content
Last updated

🔨 In Development — This section is still being developed and may change.
Retrieve a list of all vector stores in an organization that the user has access to.
GEThttps://api.freddy.aitronos.com/v1/{organization_id}/vector-stores

List all vector stores in an organization that the user has access to. Access is determined by the vector store's access mode (public, organization, department, or private) and the user's permissions.

Path Parameters

organization_id string required

The unique identifier of the organization.


Returns

An array of Vector Store objects.

Bash
curl "https://api.freddy.aitronos.com/v1/org_abc123/vector-stores" \
  -H "Authorization: Bearer $FREDDY_API_KEY"

Response

[
  {
    "id": "vs_abc123",
    "name": "Product Documentation",
    "description": "Technical documentation for all products",
    "organizationId": "org_abc123",
    "isActive": true,
    "createdAt": "2025-01-15T10:30:00Z",
    "updatedAt": "2025-01-20T14:22:00Z",
    "createdBy": "uid_user123",
    "accessMode": "organization",
    "accessDepartments": null,
    "accessUsers": null,
    "fileCount": 42,
    "dataSize": 15728640
  },
  {
    "id": "vs_def456",
    "name": "Customer Support KB",
    "description": "Customer support knowledge base articles",
    "organizationId": "org_abc123",
    "isActive": true,
    "createdAt": "2025-01-10T08:15:00Z",
    "updatedAt": "2025-01-19T16:45:00Z",
    "createdBy": "uid_user456",
    "accessMode": "department",
    "accessDepartments": ["dept_support", "dept_sales"],
    "accessUsers": null,
    "fileCount": 128,
    "dataSize": 52428800
  },
  {
    "id": "vs_ghi789",
    "name": "Personal Research",
    "description": "Private research documents",
    "organizationId": "org_abc123",
    "isActive": true,
    "createdAt": "2025-01-18T12:00:00Z",
    "updatedAt": "2025-01-20T09:30:00Z",
    "createdBy": "uid_user123",
    "accessMode": "private",
    "accessDepartments": null,
    "accessUsers": ["uid_user123"],
    "fileCount": 8,
    "dataSize": 4194304
  }
]