Documentation Index
Fetch the complete documentation index at: https://docs.pathors.com/llms.txt
Use this file to discover all available pages before exploring further.
Request
DELETE https://api.pathors.com/v1/projects/{projectId}/knowledgebases/{knowledgebaseId}/datasets/{datasetId}
Path Parameters
The knowledgebase containing the dataset
Bearer token using your developer key
Response
{
"message": "Dataset deleted successfully"
}
Example
curl -X DELETE https://api.pathors.com/v1/projects/{projectId}/knowledgebases/kb_abc123/datasets/dataset_xyz789 \
-H "Authorization: Bearer dk_your_key"
This action is irreversible. The original file, all chunks, and all embeddings are permanently removed. Search results from this dataset stop appearing immediately.
The dataset must belong to the specified knowledgebase — cross-knowledgebase deletion returns 403.