Skip to content
Last updated

Remove a file from a knowledge store and delete its vectorized chunks.

DELETEhttps://api.aitronos.com/v1/organizations/{organization_id}/stores/{store_id}/files/{file_id}

Removes the file from the store and performs a best-effort cleanup of its embedded vector chunks. 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.

file_id string required

The unique identifier of the file (format: file_*).


Returns

No content (HTTP 204).

cURL
curl -X DELETE "https://api.aitronos.com/v1/organizations/org_xyz789/stores/vs_abc123/files/file_abc123def456" \
  -H "Authorization: Bearer $ACCESS_TOKEN"