veeresh patil
veeresh patil

Reputation: 1476

Is there mlflow REST api to hard delete experiments, runs?

Mlfow exp delete api does soft delete and when you create experiment with that name, it gives error RESOURCE_ALREADY_EXISTS.

Is there any way to delete experiment permanently through api? https://www.mlflow.org/docs/latest/rest-api.html#delete-experiment

There is similar question here, How Do You "Permanently" Delete An Experiment In Mlflow? where answers are to run delete sql queries directly by connecting to backend DB which i want to avoid.

Upvotes: 7

Views: 1338

Answers (1)

stroblme
stroblme

Reputation: 1356

afaik, there is no such option in the REST api, but with mlflow 1.11.0, there exists the mlflow gc command where you can append --experiment-ids XY to delete experiment XY or omit XY to delete all experiments in the deleted lifecycle stage. See documentation here

Upvotes: 0

Related Questions