Dataset
Clear Dataset
Removes all chunks, files, and groups from the dataset while retaining the analytics and dataset itself. The auth'ed user must be an owner of the organization to clear a dataset.
put/api/dataset/clear/{dataset_id}
Request
- Base URLhttps://api.trieve.ai
- URLhttps://api.trieve.ai/api/dataset/clear/{dataset_id}
- AuthAPI key in header Authorization
Path parameters
dataset_idstring uuid required
The id of the dataset you want to clear.
Headers
TR-Datasetstring uuid required
The dataset id or tracking_id to use for the request. We assume you intend to use an id if the value is a valid uuid.
Response
Dataset cleared successfully
Changes
No recorded changes to this operation across all 50 revisions of this API.