{
"metric": {
"metric_id": "550e8400-e29b-41d4-a716-446655440000",
"metric_key": "response_time",
"metric_name": "Время ответа",
"description": "string",
"value_type": "number"
},
"period": {
"from": "2024-12-09T00:00:00Z",
"to": "2024-12-16T23:59:59Z",
"days": 7
},
"evaluation_info": {
"mode": "anomaly",
"description": "Аномалии: отклонение от среднего"
},
"overall_stats": {
"mean": 275,
"baseline": 250
},
"agents": [
{
"agent_id": "550e8400-e29b-41d4-a716-446655440000",
"agent_name": "Велосипедо-продавец",
"avatar_url": "string",
"agent_type": "sales",
"value": 3200,
"baseline": 450,
"score": 82.5,
"deviation_percent": 82.5,
"direction": "higher_is_better",
"change_percent": 15.3,
"events_count": 1500,
"dialogs_count": 234,
"mean": 275
}
],
"time_series": [
{
"timestamp": "2024-12-09T00:00:00Z",
"avg_value": 1250,
"min_value": 450,
"max_value": 3200,
"events_count": 1500
}
],
"recommendations": [
{
"type": "deviation",
"message": "Метрика response_time требует внимания.",
"affected_agents": [
"string"
]
}
],
"total_agents": 45,
"bad_count": 12,
"empty_state": {
"type": "no_problems",
"message": "Все метрики в норме"
},
"filters": {
"evaluation_mode": "anomaly",
"top": "worst",
"agent_type": "string",
"channel_id": "string",
"metric_type": "builtin",
"compare_same_type": true
}
}