Skip to content
Last updated

Remove multiple files from a knowledge store in a single request.

POSThttps://api.aitronos.com/v1/organizations/{organization_id}/stores/{store_id}/files/remove-bulk

Removes the specified files from the store. Files that are not found in the store are silently skipped. This operation cannot be undone.

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.

Request Body

file_ids string[] required

A list of file IDs to remove (at least one required).


Returns

No content (HTTP 204).

cURL
curl -X POST "https://api.aitronos.com/v1/organizations/org_xyz789/stores/vs_abc123/files/remove-bulk" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "file_ids": ["file_abc123", "file_def456", "file_ghi789"]
  }'