Skip to main content
DELETE
https://api.fltr.com
/
v1
/
datasets
/
{dataset_id}
Delete Dataset
curl --request DELETE \
  --url https://api.fltr.com/v1/datasets/{dataset_id} \
  --header 'Authorization: <authorization>'

Request

Deletes a dataset and all its documents. This action cannot be undone.

Path Parameters

dataset_id
string
required
The unique dataset identifier to delete

Headers

Authorization
string
required
Bearer token for authentication

Response

Returns 204 No Content on successful deletion.

Examples

cURL
curl -X DELETE https://api.fltr.com/v1/datasets/ds_abc123 \
  -H "Authorization: Bearer fltr_sk_abc123..."
Python
response = requests.delete(
    "https://api.fltr.com/v1/datasets/ds_abc123",
    headers={"Authorization": "Bearer fltr_sk_abc123..."}
)
# response.status_code == 204

Errors

{
  "error": "Dataset not found",
  "code": "dataset_not_found"
}

Notes

This permanently deletes the dataset and all documents within it. This action cannot be undone.
  • All documents in the dataset will be deleted
  • Vector embeddings will be removed
  • Metadata will be lost
  • Active queries may fail