Skip to content

Gets metric history for a run

GET
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/metrics/get-history
id
required
One of:
string

The ID or URL-encoded path of the project

Example
1
run_id
required
string
nullable

UUID of the run

metric_key
required
string
nullable

Name of the metric

max_results
integer
default: 1000 nullable

Maximum number of metrics to return. Default is 1000.

page_token
string
nullable

Token for pagination

OK

Media type application/json
object
metrics
Array<object>
object
key
string
value
number
timestamp

Unix timestamp in milliseconds

integer
step
integer
next_page_token
string
Example generated
{
"metrics": [
{
"key": "example",
"value": 1,
"timestamp": 1,
"step": 1
}
],
"next_page_token": "example"
}

Bad Request

Not Found