Zum Hauptinhalt springen

Upload run metrics

POST 

/runs/:run_id/metrics/

Upload a single metric for a test run.

Expects JSON body:

{
"title": "AC Voltage on Inverter Output",
"x-axis-label": "time in s",
"y-axis-label": "voltage",
"x": [0, 1, 2],
"y": [22.1, 22.9, 23.4]
}

title is required. x-axis-label and y-axis-label are optional.

Returns:

{
"metric_id": 104,
"status": "created"
}

Request

Responses