Skip to content
Last updated

Create a new knowledge slice within an organization.

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

Creates a new knowledge slice with the specified name, type, and ownership. Requires the MANAGE_KNOWLEDGE_SLICES capability.

Path Parameters

organization_id string required

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

Request Body

name string required

The name of the knowledge slice (1-255 characters).

description string optional

A description of the knowledge slice.

type string optional ยท Defaults to "standard"

The slice type. Allowed values: standard, personal, chat_space.

owner_type string required

The type of entity that owns this slice. Allowed values: organization, department, user, group.

owner_id string required

The ID of the owning entity.


Returns

The newly created knowledge slice object (HTTP 201).

cURL
curl -X POST https://api.aitronos.com/v1/organizations/org_xyz789/knowledge/slices \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Product Documentation",
    "description": "All product-related knowledge",
    "type": "standard",
    "owner_type": "organization",
    "owner_id": "org_xyz789"
  }'