Skip to content
Last updated

Update a vector store's name, description, access mode, or move it to a different knowledge slice.

PATCHhttps://api.aitronos.com/v1/organizations/{organization_id}/knowledge/stores/{store_id}

Partially updates a vector store. Only the provided fields will be modified. Requires the MANAGE_KNOWLEDGE_SLICES capability.

Path Parameters

organization_id string required

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

store_id string required

The unique identifier of the vector store (format: vs_*).

Request Body

name string optional

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

description string optional

The updated description of the vector store.

access_mode string optional

The updated access level. Allowed values: public, organization, department, private.

slice_id string optional

The ID of the knowledge slice to move this store to. The target slice must exist, not be archived, and not be a composite slice. When provided, the store is reassigned from its current slice to the specified one.


Returns

The updated vector store object.

cURL
curl -X PATCH https://api.aitronos.com/v1/organizations/org_xyz789/knowledge/stores/vs_store123 \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated API Docs Store",
    "access_mode": "department",
    "slice_id": "kslice_newslice456"
  }'