Compliance Report
curl --request GET \
--url http://{host}:{port}/{basePath}/analytics/compliance \
--header 'Authorization: <api-key>'import requests
url = "http://{host}:{port}/{basePath}/analytics/compliance"
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/compliance', 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/compliance",
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/compliance"
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/compliance")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://{host}:{port}/{basePath}/analytics/compliance")
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": "ComplianceReport",
"spec": {
"Period": {
"Start": "2026-03-15T00:00:00Z",
"End": "2026-03-22T00:00:00Z"
},
"IncidentMetrics": {
"TotalIncidents": 45,
"BySeverity": {"critical": 5, "high": 12, "medium": 18, "low": 10},
"ByState": {"Resolved": 38, "Escalated": 4, "Analyzing": 3},
"MTTD": 32000000000,
"MTTR": 510000000000,
"MeanRemediationAttempts": 1.8
},
"RemediationMetrics": {
"TotalRemediations": 52,
"SuccessRate": 0.88,
"AutoRemediatedCount": 38,
"AgenticCount": 8
},
"SLAMetrics": {
"CompliancePercentage": 95.6,
"ResponseSLAViolations": 2,
"ResolutionSLAViolations": 1
},
"ApprovalMetrics": {
"TotalRequests": 14,
"AutoApproved": 8,
"ManualApproved": 4,
"Rejected": 1,
"Expired": 1
}
}
}
Analytics
Analytics Compliance
Returns a comprehensive compliance report with incident, remediation, SLA, and approval metrics for the specified time window
GET
/
analytics
/
compliance
Compliance Report
curl --request GET \
--url http://{host}:{port}/{basePath}/analytics/compliance \
--header 'Authorization: <api-key>'import requests
url = "http://{host}:{port}/{basePath}/analytics/compliance"
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/compliance', 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/compliance",
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/compliance"
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/compliance")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://{host}:{port}/{basePath}/analytics/compliance")
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": "ComplianceReport",
"spec": {
"Period": {
"Start": "2026-03-15T00:00:00Z",
"End": "2026-03-22T00:00:00Z"
},
"IncidentMetrics": {
"TotalIncidents": 45,
"BySeverity": {"critical": 5, "high": 12, "medium": 18, "low": 10},
"ByState": {"Resolved": 38, "Escalated": 4, "Analyzing": 3},
"MTTD": 32000000000,
"MTTR": 510000000000,
"MeanRemediationAttempts": 1.8
},
"RemediationMetrics": {
"TotalRemediations": 52,
"SuccessRate": 0.88,
"AutoRemediatedCount": 38,
"AgenticCount": 8
},
"SLAMetrics": {
"CompliancePercentage": 95.6,
"ResponseSLAViolations": 2,
"ResolutionSLAViolations": 1
},
"ApprovalMetrics": {
"TotalRequests": 14,
"AutoApproved": 8,
"ManualApproved": 4,
"Rejected": 1,
"Expired": 1
}
}
}
string
Filter by Kubernetes namespace
string
Start date in RFC3339 format
string
End date in RFC3339 format (default: now). Window defaults to 7 days if not specified.
Report Contents
The compliance report aggregates metrics across all AIOps resources:- Incident Metrics: Total incidents, by severity/state, MTTD, MTTR, mean remediation attempts
- Remediation Metrics: Total remediations, success rate, by action type, auto vs agentic counts
- SLA Metrics: Compliance percentage, response/resolution violations, average times
- Approval Metrics: Auto/manual approved, rejected, expired, average decision time
- Audit Summary: Total events, by severity, by event type
{
"apiVersion": "v1",
"kind": "ComplianceReport",
"spec": {
"Period": {
"Start": "2026-03-15T00:00:00Z",
"End": "2026-03-22T00:00:00Z"
},
"IncidentMetrics": {
"TotalIncidents": 45,
"BySeverity": {"critical": 5, "high": 12, "medium": 18, "low": 10},
"ByState": {"Resolved": 38, "Escalated": 4, "Analyzing": 3},
"MTTD": 32000000000,
"MTTR": 510000000000,
"MeanRemediationAttempts": 1.8
},
"RemediationMetrics": {
"TotalRemediations": 52,
"SuccessRate": 0.88,
"AutoRemediatedCount": 38,
"AgenticCount": 8
},
"SLAMetrics": {
"CompliancePercentage": 95.6,
"ResponseSLAViolations": 2,
"ResolutionSLAViolations": 1
},
"ApprovalMetrics": {
"TotalRequests": 14,
"AutoApproved": 8,
"ManualApproved": 4,
"Rejected": 1,
"Expired": 1
}
}
}
Authorizations
Bearer token issued by the operator. Format: Authorization: Bearer <token>.
Query Parameters
Filter by namespace.
Start date (RFC3339).
End date (RFC3339). Default: now. Default window: 7 days.
⌘I