Hanzo
OpenapiEval

Removes the named dataset of the caller's org AND all of its examples, in one…

Removes the named dataset of the caller's org AND all of its examples, in one transaction.

DELETE /v1/eval/datasets/{name}

Addresshttps://api.hanzo.ai/v1/eval/datasets/{name}
MethodDELETE
Operationdelete_eval_datasets_by_name
AuthAuthorization: Bearer $HANZO_API_KEY

Removes the named dataset of the caller's org AND all of its examples, in one transaction.

This is not a detach: the examples are gone with the set, so a dataset cannot be resurrected by re-creating the name. A name this org does not have is 404 — never a silent success — and a name belonging to another tenant is the same 404, because the delete is predicated on the validated org. Requires a validated principal; 403 without one. Runs and scores already recorded against the dataset are telemetry events and are NOT deleted with it.

Request

1 field.

FieldInTypeRequiredDescription
namepathstringyesName is the dataset the URL names.

Response

StatusBodyMeaning
200noneok

200 body — 1 field.

FieldInTypeAlwaysDescription
(body)bodyobjectyes

Failure carries the platform error shape — see Errors.

Examples

hanzo evals datasets rm <name>

Eval API · All Hanzo APIs · Interactive reference

How is this guide?

On this page