Skip to content
Last updated

Update a composite slice's name, description, or member slices.

PATCHhttps://api.aitronos.com/v1/organizations/{organization_id}/knowledge/composites/{slice_id}

Partially updates a composite slice. You can change its metadata or replace its member slice list entirely. 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 composite slice (format: kslice_*).

Request Body

name string optional

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

description string optional

The updated description of the composite slice.

member_slice_ids array of strings optional

Replacement list of knowledge slice IDs. When provided, the entire member list is replaced.


Returns

The updated composite slice object.

cURL
curl -X PATCH https://api.aitronos.com/v1/organizations/org_xyz789/knowledge/composites/kslice_comp789 \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated Engineering Knowledge",
    "member_slice_ids": ["kslice_abc123", "kslice_def456", "kslice_ghi789"]
  }'