Python
import requests
url = "https://app.langwatch.ai/api/dataset/{slugOrId}"
headers = {"X-Auth-Token": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-Auth-Token': '<api-key>'}};
fetch('https://app.langwatch.ai/api/dataset/{slugOrId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://app.langwatch.ai/api/dataset/{slugOrId} \
--header 'X-Auth-Token: <api-key>'Datasets
Archive a dataset
Archive a dataset (soft-delete)
DELETE
/
api
/
dataset
/
{slugOrId}
Python
import requests
url = "https://app.langwatch.ai/api/dataset/{slugOrId}"
headers = {"X-Auth-Token": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-Auth-Token': '<api-key>'}};
fetch('https://app.langwatch.ai/api/dataset/{slugOrId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://app.langwatch.ai/api/dataset/{slugOrId} \
--header 'X-Auth-Token: <api-key>'Was this page helpful?
⌘I