Archive a knowledge slice to mark it as inactive.
POSThttps://api.aitronos.com/v1/organizations/{organization_id}/knowledge/slices/{slice_id}/archive
Archives the specified knowledge slice. Archived slices are excluded from default listing queries. Requires the MANAGE_KNOWLEDGE_SLICES capability.
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_*).
The archived knowledge slice object with archived_at and archived_by populated.
cURL
- Bash
- Python
- Python
- JavaScript
curl -X POST https://api.aitronos.com/v1/organizations/org_xyz789/knowledge/slices/kslice_abc123/archive \
-H "Authorization: Bearer $ACCESS_TOKEN"