DELETE /v2/evals/datasets/{dataset_id}
Delete a dataset and its rows and experiments.
How to use
Deleting a dataset cascades to its rows and experiments. Retain required results before removal and verify the dataset belongs to the intended project.
Authentication and permissions
Required permissions: evals.delete. Resource and owner access checks also apply.
Personal API key (sk_...) or supported user access JWT. See Authentication and authorization for endpoint restrictions and scopes. Use exactly one Authorization header.
Successful Response
No content
Invalid request or pagination cursor
Missing or invalid credentials
Denied permission, project folder access, or API-key scope (meta.required_scope)
Resource not found in the caller's organization
Client error returned in the public API envelope
curl --fail-with-body -sS -X DELETE \
"$STACKAI_BASE_URL/v2/evals/datasets/${DATASET_ID}" \
-H "Authorization: Bearer $STACKAI_API_KEY"No content
Last updated
Was this helpful?

