curl --request GET \
--url https://api.example.com/api/v1/analytics/mttr{
"apiVersion": "v1",
"kind": "AnalyticsMTTR",
"metadata": {
"period": "30d",
"from": "2026-02-17T00:00:00Z",
"to": "2026-03-19T15:00:00Z",
"generatedAt": "2026-03-19T15:05:00Z"
},
"mttr": {
"overall": {
"mean": "8m30s",
"median": "6m15s",
"p95": "25m",
"p99": "1h10m"
},
"bySeverity": {
"critical": {
"mean": "12m45s",
"median": "10m",
"count": 8
},
"high": {
"mean": "8m20s",
"median": "6m",
"count": 35
},
"medium": {
"mean": "6m",
"median": "4m30s",
"count": 52
},
"low": {
"mean": "3m15s",
"median": "2m",
"count": 28
}
},
"byPhase": {
"detection": {
"mean": "45s",
"description": "Tempo entre o evento e a deteccao pelo watcher"
},
"analysis": {
"mean": "1m30s",
"description": "Tempo de análise de root cause pela IA"
},
"approval": {
"mean": "3m20s",
"description": "Tempo de espera por aprovação humana"
},
"remediation": {
"mean": "2m55s",
"description": "Tempo de execução do runbook de remediação"
}
},
"history": [
{
"date": "2026-03-19",
"mttr": "7m",
"incidentCount": 5
},
{
"date": "2026-03-18",
"mttr": "9m30s",
"incidentCount": 8
},
{
"date": "2026-03-17",
"mttr": "6m15s",
"incidentCount": 3
},
{
"date": "2026-03-16",
"mttr": "11m",
"incidentCount": 7
}
],
"improvement": {
"vsPrevPeriod": "-22%",
"vsBaseline": "-45%",
"baselinePeriod": "2026-01-01 to 2026-01-31"
}
}
}
Retorna metricas detalhadas de MTTR (Mean Time To Resolve) com breakdown por fase
curl --request GET \
--url https://api.example.com/api/v1/analytics/mttr{
"apiVersion": "v1",
"kind": "AnalyticsMTTR",
"metadata": {
"period": "30d",
"from": "2026-02-17T00:00:00Z",
"to": "2026-03-19T15:00:00Z",
"generatedAt": "2026-03-19T15:05:00Z"
},
"mttr": {
"overall": {
"mean": "8m30s",
"median": "6m15s",
"p95": "25m",
"p99": "1h10m"
},
"bySeverity": {
"critical": {
"mean": "12m45s",
"median": "10m",
"count": 8
},
"high": {
"mean": "8m20s",
"median": "6m",
"count": 35
},
"medium": {
"mean": "6m",
"median": "4m30s",
"count": 52
},
"low": {
"mean": "3m15s",
"median": "2m",
"count": 28
}
},
"byPhase": {
"detection": {
"mean": "45s",
"description": "Tempo entre o evento e a deteccao pelo watcher"
},
"analysis": {
"mean": "1m30s",
"description": "Tempo de análise de root cause pela IA"
},
"approval": {
"mean": "3m20s",
"description": "Tempo de espera por aprovação humana"
},
"remediation": {
"mean": "2m55s",
"description": "Tempo de execução do runbook de remediação"
}
},
"history": [
{
"date": "2026-03-19",
"mttr": "7m",
"incidentCount": 5
},
{
"date": "2026-03-18",
"mttr": "9m30s",
"incidentCount": 8
},
{
"date": "2026-03-17",
"mttr": "6m15s",
"incidentCount": 3
},
{
"date": "2026-03-16",
"mttr": "11m",
"incidentCount": 7
}
],
"improvement": {
"vsPrevPeriod": "-22%",
"vsBaseline": "-45%",
"baselinePeriod": "2026-01-01 to 2026-01-31"
}
}
}
7d, 30d, 90d, 180dcritical, high, medium, lowhourly, daily, weekly{
"apiVersion": "v1",
"kind": "AnalyticsMTTR",
"metadata": {
"period": "30d",
"from": "2026-02-17T00:00:00Z",
"to": "2026-03-19T15:00:00Z",
"generatedAt": "2026-03-19T15:05:00Z"
},
"mttr": {
"overall": {
"mean": "8m30s",
"median": "6m15s",
"p95": "25m",
"p99": "1h10m"
},
"bySeverity": {
"critical": {
"mean": "12m45s",
"median": "10m",
"count": 8
},
"high": {
"mean": "8m20s",
"median": "6m",
"count": 35
},
"medium": {
"mean": "6m",
"median": "4m30s",
"count": 52
},
"low": {
"mean": "3m15s",
"median": "2m",
"count": 28
}
},
"byPhase": {
"detection": {
"mean": "45s",
"description": "Tempo entre o evento e a deteccao pelo watcher"
},
"analysis": {
"mean": "1m30s",
"description": "Tempo de análise de root cause pela IA"
},
"approval": {
"mean": "3m20s",
"description": "Tempo de espera por aprovação humana"
},
"remediation": {
"mean": "2m55s",
"description": "Tempo de execução do runbook de remediação"
}
},
"history": [
{
"date": "2026-03-19",
"mttr": "7m",
"incidentCount": 5
},
{
"date": "2026-03-18",
"mttr": "9m30s",
"incidentCount": 8
},
{
"date": "2026-03-17",
"mttr": "6m15s",
"incidentCount": 3
},
{
"date": "2026-03-16",
"mttr": "11m",
"incidentCount": 7
}
],
"improvement": {
"vsPrevPeriod": "-22%",
"vsBaseline": "-45%",
"baselinePeriod": "2026-01-01 to 2026-01-31"
}
}
}