Dataset
Delete Dataset
Delete a dataset from your knowledgebase
DELETE
Delete Dataset
Permanently deletes a dataset and its associated chunks from your knowledgebase.
Endpoint
Path Parameters
The ID of the dataset to delete
Headers
Your project API key for authentication
Response
A successful request will return a 200 status code indicating the dataset was deleted.
Example response:
Error Responses
Status Code | Description |
---|---|
401 | Invalid API key |
404 | Dataset not found |
500 | Internal server error |
Warning
This action is irreversible. Deleting a dataset will:
- Remove the dataset file from storage
- Delete all associated chunks
- Remove all embeddings generated from this dataset
Usage Notes
- Ensure you have backed up any important data before deletion
- The deletion process will automatically clean up all related resources
- This operation cannot be undone
- The knowledgebase will be immediately updated to exclude the deleted dataset’s content from search results