Get Incident
curl --request GET \
--url http://{host}:{port}/{basePath}/incidents/{name} \
--header 'Authorization: <api-key>'import requests
url = "http://{host}:{port}/{basePath}/incidents/{name}"
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}/incidents/{name}', 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}/incidents/{name}",
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}/incidents/{name}"
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}/incidents/{name}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://{host}:{port}/{basePath}/incidents/{name}")
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": "Incident",
"metadata": {
"name": "INC-20260319-001",
"namespace": "production",
"createdAt": "2026-03-19T15:20:00Z",
"labels": {
"app": "payment-service",
"team": "platform",
"severity": "high"
}
},
"spec": {
"resource": "Deployment/payment-service",
"severity": "high",
"description": "OOMKill detected — container reiniciado 5 vezes nos ultimos 10 minutos",
"detectionSource": "k8s-watcher",
"correlationId": "corr-abc123",
"runbook": "runbook-oomkill-standard",
"escalationPolicy": "pagerduty-critical"
},
"status": {
"state": "Analyzing",
"riskScore": 65,
"analysisResult": {
"rootCause": "Memory limit de 512Mi insuficiente para carga atual",
"recommendation": "Aumentar memory limit para 1Gi",
"confidence": 0.87,
"relatedEvents": [
"Pod payment-service-7d4b8c9f6-x2k4m OOMKilled",
"HPA unable to scale — max replicas reached"
]
},
"acknowledged": false,
"assignedTo": "sre-team",
"detectedAt": "2026-03-19T15:20:00Z",
"lastUpdated": "2026-03-19T15:25:00Z",
"timelineCount": 8
}
}
Incidents
Get Incident
Returns the full details of a specific incident
GET
/
incidents
/
{name}
Get Incident
curl --request GET \
--url http://{host}:{port}/{basePath}/incidents/{name} \
--header 'Authorization: <api-key>'import requests
url = "http://{host}:{port}/{basePath}/incidents/{name}"
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}/incidents/{name}', 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}/incidents/{name}",
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}/incidents/{name}"
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}/incidents/{name}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://{host}:{port}/{basePath}/incidents/{name}")
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": "Incident",
"metadata": {
"name": "INC-20260319-001",
"namespace": "production",
"createdAt": "2026-03-19T15:20:00Z",
"labels": {
"app": "payment-service",
"team": "platform",
"severity": "high"
}
},
"spec": {
"resource": "Deployment/payment-service",
"severity": "high",
"description": "OOMKill detected — container reiniciado 5 vezes nos ultimos 10 minutos",
"detectionSource": "k8s-watcher",
"correlationId": "corr-abc123",
"runbook": "runbook-oomkill-standard",
"escalationPolicy": "pagerduty-critical"
},
"status": {
"state": "Analyzing",
"riskScore": 65,
"analysisResult": {
"rootCause": "Memory limit de 512Mi insuficiente para carga atual",
"recommendation": "Aumentar memory limit para 1Gi",
"confidence": 0.87,
"relatedEvents": [
"Pod payment-service-7d4b8c9f6-x2k4m OOMKilled",
"HPA unable to scale — max replicas reached"
]
},
"acknowledged": false,
"assignedTo": "sre-team",
"detectedAt": "2026-03-19T15:20:00Z",
"lastUpdated": "2026-03-19T15:25:00Z",
"timelineCount": 8
}
}
string
required
Unique incident name (e.g.,
INC-20260319-001){
"apiVersion": "v1",
"kind": "Incident",
"metadata": {
"name": "INC-20260319-001",
"namespace": "production",
"createdAt": "2026-03-19T15:20:00Z",
"labels": {
"app": "payment-service",
"team": "platform",
"severity": "high"
}
},
"spec": {
"resource": "Deployment/payment-service",
"severity": "high",
"description": "OOMKill detected — container reiniciado 5 vezes nos ultimos 10 minutos",
"detectionSource": "k8s-watcher",
"correlationId": "corr-abc123",
"runbook": "runbook-oomkill-standard",
"escalationPolicy": "pagerduty-critical"
},
"status": {
"state": "Analyzing",
"riskScore": 65,
"analysisResult": {
"rootCause": "Memory limit de 512Mi insuficiente para carga atual",
"recommendation": "Aumentar memory limit para 1Gi",
"confidence": 0.87,
"relatedEvents": [
"Pod payment-service-7d4b8c9f6-x2k4m OOMKilled",
"HPA unable to scale — max replicas reached"
]
},
"acknowledged": false,
"assignedTo": "sre-team",
"detectedAt": "2026-03-19T15:20:00Z",
"lastUpdated": "2026-03-19T15:25:00Z",
"timelineCount": 8
}
}
{
"apiVersion": "v1",
"kind": "Error",
"error": {
"code": 404,
"message": "Incident not found",
"details": "The incident 'INC-20260319-999' does not exist"
}
}
Authorizations
Bearer token issued by the operator. Format: Authorization: Bearer <token>.
Path Parameters
Unique incident name (e.g. INC-20260319-001).
Example:
"INC-20260319-001"
⌘I