Aggregate HealthScore (v2.1)
POST/v2.1/api/tenants/:tenant_id/monitor/aggregates/healthscore
HealthScore Aggregate categorized as poor, fair and good for MSP and its clients
Request
Path Parameters
MSP Tenant Id
- application/json
Body
Filters for Aggregate HealthScore
Possible values: [min
, max
, avg
]
The aggregate value of the health score query.
Clients
The end time to get the health score.
Possible values: [Site
, Circuit
, AnynetLink
]
The health score type.
The description of the health score request. Maz size = 128.
The start time to get the health score query.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
Possible values: [min
, max
, avg
]
The aggregate value of the health score query.
The end time to get the health score.
Possible values: [Site
, Circuit
, AnynetLink
]
The health score type.
items LqmStatsHealthScoreAggregateData[]
The values of the filter.
The number of LQM Health Scores.
data LqmStatsClientHealthScoreAggregateData[]
The tenant's LQM health score.
The tenant ID.
The LQM stats health score.
Possible values: [others
, poor
, fair
, good
]
The health values.
The start time to get the health score query.
{
"aggregation": "min",
"end_time": "string",
"healthscore_type": "Site",
"items": [
{
"count": 0,
"data": [
{
"tenant_id": "string",
"value": 0
}
],
"health": "others"
}
],
"start_time": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "AGGREGATION_REQUIRED"
},
{
"code": "HEALTHSCORE_TYPE_REQUIRED"
},
{
"code": "START_TIME_GREATER_THAN_END_TIME"
}
]
}
}