Skip to content
Last updated

Create a new vector store within a knowledge slice.

POSThttps://api.aitronos.com/v1/organizations/{organization_id}/knowledge/slices/{slice_id}/stores

Creates a new vector store and associates it with the specified knowledge slice. Requires the MANAGE_KNOWLEDGE_SLICES capability.

Path Parameters

organization_id string required

The unique identifier of the organization (format: org_*).

slice_id string required

The unique identifier of the knowledge slice (format: kslice_*).

Request Body

name string required

The name of the vector store (1-255 characters).

description string optional

A description of the vector store.

access_mode string optional ยท Defaults to "organization"

The access level for the store. Allowed values: public, organization, department, private.


Returns

The newly created vector store object (HTTP 201).

cURL
curl -X POST https://api.aitronos.com/v1/organizations/org_xyz789/knowledge/slices/kslice_abc123/stores \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "API Documentation Store",
    "description": "Vector store for API docs",
    "access_mode": "organization"
  }'