Skip to content

Logs a metric to a run.

POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/log-metric
id
required
One of:
string

The ID or URL-encoded path of the project

Example
1
Media type application/json
object
run_id
required

UUID of the run.

string
nullable
key
required

Name for the metric.

string
nullable
value
required

Value of the metric.

number
nullable
timestamp
required

Unix timestamp in milliseconds when metric was recorded

integer
nullable
step

Step at which the metric was recorded

integer
nullable
Example generated
{
"run_id": "example",
"key": "example",
"value": 1,
"timestamp": 1,
"step": 1
}

Created

Bad Request

Not Found