Logs a metric to a run.
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/log-metric
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body required
Section titled “ Request Body required ” Media type application/json
object
run_id
required
UUID of the run.
string
key
required
Name for the metric.
string
value
required
Value of the metric.
number
timestamp
required
Unix timestamp in milliseconds when metric was recorded
integer
step
Step at which the metric was recorded
integer
Example generated
{ "run_id": "example", "key": "example", "value": 1, "timestamp": 1, "step": 1}Responses
Section titled “ Responses ”Created
Bad Request
Not Found