Skip to contents

Bulk restore runs in an experiment that were deleted no earlier than the specified timestamp. Restores at most max_runs per request. To call this API from a Databricks Notebook in Python, you can use the client code snippet on https://learn.microsoft.com/en-us/azure/databricks/mlflow/runs#bulk-restore.

Usage

restore_experiment_runs(
  client,
  experiment_id,
  min_timestamp_millis,
  max_runs = NULL
)

experimentsRestoreRuns(
  client,
  experiment_id,
  min_timestamp_millis,
  max_runs = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

experiment_id

Required. The ID of the experiment containing the runs to restore.

min_timestamp_millis

Required. The minimum deletion timestamp in milliseconds since the UNIX epoch for restoring runs.

max_runs

An optional positive integer indicating the maximum number of runs to restore.