Get AI Insight
curl --request GET \
--url http://{host}:{port}/{basePath}/aiinsights/{name} \
--header 'Authorization: <api-key>'{
"apiVersion": "v1",
"kind": "AIInsight",
"resourceMeta": {
"name": "insight-inc-20260319-001",
"namespace": "production",
"creationTimestamp": "2026-03-19T14:31:00Z"
},
"spec": {
"issueRef": "INC-20260319-001",
"provider": "anthropic",
"model": "claude-sonnet-4-20250514"
},
"status": {
"analysis": "The payment-service deployment is experiencing OOMKill events due to a memory leak in the webhook handler...",
"confidence": 0.91,
"recommendations": [
"Increase memory limit from 512Mi to 1Gi",
"Restart pods to reclaim leaked memory",
"Review webhook handler for unclosed response bodies"
],
"suggestedActions": [
{
"name": "Increase memory limit",
"action": "AdjustResources",
"description": "Prevent further OOMKills",
"params": {"memoryLimit": "1Gi"}
}
],
"logAnalysis": "1 Go panic stack trace; 12 critical patterns...",
"metricsContext": "CPU: 0.45 cores (stable), Memory: 498Mi/512Mi (98% - critical), Restarts: 5 in last 30min",
"gitOpsContext": "Helm release 'payment' revision=42 deployed 2h ago",
"cascadeAnalysis": "payment-service(root) -> api-gateway(victim)",
"blastRadiusPrediction": "Low risk: 3 pods, 1 service affected",
"generatedAt": "2026-03-19T14:32:00Z"
}
}
AI Insights
Get AI Insight
Returns the complete AI analysis for a specific insight, including all enrichment contexts and suggested actions
GET
/
aiinsights
/
{name}
Get AI Insight
curl --request GET \
--url http://{host}:{port}/{basePath}/aiinsights/{name} \
--header 'Authorization: <api-key>'{
"apiVersion": "v1",
"kind": "AIInsight",
"resourceMeta": {
"name": "insight-inc-20260319-001",
"namespace": "production",
"creationTimestamp": "2026-03-19T14:31:00Z"
},
"spec": {
"issueRef": "INC-20260319-001",
"provider": "anthropic",
"model": "claude-sonnet-4-20250514"
},
"status": {
"analysis": "The payment-service deployment is experiencing OOMKill events due to a memory leak in the webhook handler...",
"confidence": 0.91,
"recommendations": [
"Increase memory limit from 512Mi to 1Gi",
"Restart pods to reclaim leaked memory",
"Review webhook handler for unclosed response bodies"
],
"suggestedActions": [
{
"name": "Increase memory limit",
"action": "AdjustResources",
"description": "Prevent further OOMKills",
"params": {"memoryLimit": "1Gi"}
}
],
"logAnalysis": "1 Go panic stack trace; 12 critical patterns...",
"metricsContext": "CPU: 0.45 cores (stable), Memory: 498Mi/512Mi (98% - critical), Restarts: 5 in last 30min",
"gitOpsContext": "Helm release 'payment' revision=42 deployed 2h ago",
"cascadeAnalysis": "payment-service(root) -> api-gateway(victim)",
"blastRadiusPrediction": "Low risk: 3 pods, 1 service affected",
"generatedAt": "2026-03-19T14:32:00Z"
}
}
Unique AI insight name (e.g.,
insight-inc-20260319-001)Kubernetes namespace
Response Fields
| Field | Description |
|---|---|
analysis | AI-generated root cause analysis text |
confidence | Confidence score from 0.0 to 1.0 |
recommendations | Human-readable suggestions |
suggestedActions | Concrete actions with type and parameters |
logAnalysis | Structured findings from pod log analysis |
metricsContext | Prometheus metric data correlated with the incident |
sourceCodeContext | Relevant source code snippets from the app repository |
gitOpsContext | Helm/ArgoCD/Flux status at time of analysis |
cascadeAnalysis | Cross-service cascade failure analysis |
blastRadiusPrediction | Predicted impact of suggested remediation actions |
{
"apiVersion": "v1",
"kind": "AIInsight",
"resourceMeta": {
"name": "insight-inc-20260319-001",
"namespace": "production",
"creationTimestamp": "2026-03-19T14:31:00Z"
},
"spec": {
"issueRef": "INC-20260319-001",
"provider": "anthropic",
"model": "claude-sonnet-4-20250514"
},
"status": {
"analysis": "The payment-service deployment is experiencing OOMKill events due to a memory leak in the webhook handler...",
"confidence": 0.91,
"recommendations": [
"Increase memory limit from 512Mi to 1Gi",
"Restart pods to reclaim leaked memory",
"Review webhook handler for unclosed response bodies"
],
"suggestedActions": [
{
"name": "Increase memory limit",
"action": "AdjustResources",
"description": "Prevent further OOMKills",
"params": {"memoryLimit": "1Gi"}
}
],
"logAnalysis": "1 Go panic stack trace; 12 critical patterns...",
"metricsContext": "CPU: 0.45 cores (stable), Memory: 498Mi/512Mi (98% - critical), Restarts: 5 in last 30min",
"gitOpsContext": "Helm release 'payment' revision=42 deployed 2h ago",
"cascadeAnalysis": "payment-service(root) -> api-gateway(victim)",
"blastRadiusPrediction": "Low risk: 3 pods, 1 service affected",
"generatedAt": "2026-03-19T14:32:00Z"
}
}
{
"apiVersion": "v1",
"kind": "Error",
"error": {
"code": 404,
"message": "AI insight not found: insight-inc-20260319-999"
}
}
Authorizations
Bearer token issued by the operator. Format: Authorization: Bearer <token>.
Path Parameters
Unique AI insight name.
Example:
"insight-inc-20260319-001"
Query Parameters
Kubernetes namespace.
⌘I