Skip to main content
GET
/
api
/
v1
/
analytics
/
compliance
Analytics Compliance
curl --request GET \
  --url https://api.example.com/api/v1/analytics/compliance
{
  "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
    }
  }
}
namespace
string
Filter by Kubernetes namespace
from
string
Start date in RFC3339 format
to
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
    }
  }
}