Analytics MTTR
curl --request GET \
--url http://{host}:{port}/{basePath}/analytics/mttr \
--header 'Authorization: <api-key>'import requests
url = "http://{host}:{port}/{basePath}/analytics/mttr"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('http://{host}:{port}/{basePath}/analytics/mttr', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "62437",
CURLOPT_URL => "http://{host}:{port}/{basePath}/analytics/mttr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://{host}:{port}/{basePath}/analytics/mttr"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://{host}:{port}/{basePath}/analytics/mttr")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://{host}:{port}/{basePath}/analytics/mttr")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"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": "Time between the event and detection by the watcher"
},
"analysis": {
"mean": "1m30s",
"description": "AI root cause analysis time"
},
"approval": {
"mean": "3m20s",
"description": "Time waiting for human approval"
},
"remediation": {
"mean": "2m55s",
"description": "Remediation runbook execution time"
}
},
"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"
}
}
}
Analytics
Analytics MTTR
Returns detailed MTTR (Mean Time To Resolve) metrics with breakdown by phase
GET
/
analytics
/
mttr
Analytics MTTR
curl --request GET \
--url http://{host}:{port}/{basePath}/analytics/mttr \
--header 'Authorization: <api-key>'import requests
url = "http://{host}:{port}/{basePath}/analytics/mttr"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('http://{host}:{port}/{basePath}/analytics/mttr', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "62437",
CURLOPT_URL => "http://{host}:{port}/{basePath}/analytics/mttr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://{host}:{port}/{basePath}/analytics/mttr"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://{host}:{port}/{basePath}/analytics/mttr")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://{host}:{port}/{basePath}/analytics/mttr")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"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": "Time between the event and detection by the watcher"
},
"analysis": {
"mean": "1m30s",
"description": "AI root cause analysis time"
},
"approval": {
"mean": "3m20s",
"description": "Time waiting for human approval"
},
"remediation": {
"mean": "2m55s",
"description": "Remediation runbook execution time"
}
},
"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"
}
}
}
string
default:"30d"
Analysis period:
7d, 30d, 90d, 180dstring
Filter by severity:
critical, high, medium, lowstring
Filter by namespace
string
default:"daily"
History granularity:
hourly, 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": "Time between the event and detection by the watcher"
},
"analysis": {
"mean": "1m30s",
"description": "AI root cause analysis time"
},
"approval": {
"mean": "3m20s",
"description": "Time waiting for human approval"
},
"remediation": {
"mean": "2m55s",
"description": "Remediation runbook execution time"
}
},
"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"
}
}
}
Authorizations
Bearer token issued by the operator. Format: Authorization: Bearer <token>.
Query Parameters
Analysis period.
Available options:
7d, 30d, 90d, 180d Filter by severity.
Available options:
critical, high, medium, low Filter by namespace.
History granularity.
Available options:
hourly, daily, weekly ⌘I