curl --request GET \
--url {protocol}://{host}/api/v1/kpis \
--header 'Authorization: Bearer <token>'{
"kpis": [
{
"id": 1,
"name": "Production Rate",
"data_type": "number",
"frequency": "daily",
"direction": "higher",
"description": "Units produced per hour",
"unit": "units",
"aggregation": "sum"
}
]
}A valid request URL is required to generate request examples{
"kpis": [
{
"id": 1,
"name": "Production Rate",
"data_type": "number",
"frequency": "daily",
"direction": "higher",
"description": "Units produced per hour",
"unit": "units",
"aggregation": "sum"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
KPIs found
Show child attributes
1
"Production Rate"
number, currency "number"
shiftly, daily, weekly, monthly "daily"
higher, lower "higher"
"Units produced per hour"
units, hours, percentage, count, kg, g, l, ml, pcs, doses "units"
sum, average, min, max "sum"