List Incidents
curl --request GET \
--url http://{host}:{port}/{basePath}/incidents \
--header 'Authorization: <api-key>'import requests
url = "http://{host}:{port}/{basePath}/incidents"
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', 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",
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"
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")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://{host}:{port}/{basePath}/incidents")
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": "IncidentList",
"metadata": {
"totalCount": 42,
"page": 1,
"pageSize": 20
},
"items": [
{
"name": "INC-20260319-001",
"namespace": "production",
"severity": "high",
"state": "Analyzing",
"resource": "Deployment/payment-service",
"description": "OOMKill detected — container reiniciado 5 vezes nos ultimos 10 minutos",
"riskScore": 65,
"detectedAt": "2026-03-19T15:20:00Z",
"age": "5m",
"assignedTo": "sre-team",
"labels": {
"app": "payment-service",
"team": "platform"
}
},
{
"name": "INC-20260319-002",
"namespace": "staging",
"severity": "medium",
"state": "Resolved",
"resource": "Deployment/api-gateway",
"description": "Alta latencia no endpoint /health",
"riskScore": 30,
"detectedAt": "2026-03-19T14:10:00Z",
"resolvedAt": "2026-03-19T14:35:00Z",
"age": "25m",
"labels": {
"app": "api-gateway",
"team": "backend"
}
}
]
}
Incidents
List Incidents
Returns a list of incidents with optional filters and pagination
GET
/
incidents
List Incidents
curl --request GET \
--url http://{host}:{port}/{basePath}/incidents \
--header 'Authorization: <api-key>'import requests
url = "http://{host}:{port}/{basePath}/incidents"
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', 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",
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"
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")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://{host}:{port}/{basePath}/incidents")
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": "IncidentList",
"metadata": {
"totalCount": 42,
"page": 1,
"pageSize": 20
},
"items": [
{
"name": "INC-20260319-001",
"namespace": "production",
"severity": "high",
"state": "Analyzing",
"resource": "Deployment/payment-service",
"description": "OOMKill detected — container reiniciado 5 vezes nos ultimos 10 minutos",
"riskScore": 65,
"detectedAt": "2026-03-19T15:20:00Z",
"age": "5m",
"assignedTo": "sre-team",
"labels": {
"app": "payment-service",
"team": "platform"
}
},
{
"name": "INC-20260319-002",
"namespace": "staging",
"severity": "medium",
"state": "Resolved",
"resource": "Deployment/api-gateway",
"description": "Alta latencia no endpoint /health",
"riskScore": 30,
"detectedAt": "2026-03-19T14:10:00Z",
"resolvedAt": "2026-03-19T14:35:00Z",
"age": "25m",
"labels": {
"app": "api-gateway",
"team": "backend"
}
}
]
}
string
Filter by severity:
critical, high, medium, lowstring
Filter by state:
Detected, Analyzing, Remediating, Resolved, Escalated, Failedstring
Filter by Kubernetes namespace
string
Filter by resource (e.g.,
Deployment/payment-service)string
Filter incidents from a given ISO 8601 date (e.g.,
2026-03-19T00:00:00Z)integer
default:"1"
Page number
integer
default:"20"
Items per page (maximum 100)
{
"apiVersion": "v1",
"kind": "IncidentList",
"metadata": {
"totalCount": 42,
"page": 1,
"pageSize": 20
},
"items": [
{
"name": "INC-20260319-001",
"namespace": "production",
"severity": "high",
"state": "Analyzing",
"resource": "Deployment/payment-service",
"description": "OOMKill detected — container reiniciado 5 vezes nos ultimos 10 minutos",
"riskScore": 65,
"detectedAt": "2026-03-19T15:20:00Z",
"age": "5m",
"assignedTo": "sre-team",
"labels": {
"app": "payment-service",
"team": "platform"
}
},
{
"name": "INC-20260319-002",
"namespace": "staging",
"severity": "medium",
"state": "Resolved",
"resource": "Deployment/api-gateway",
"description": "Alta latencia no endpoint /health",
"riskScore": 30,
"detectedAt": "2026-03-19T14:10:00Z",
"resolvedAt": "2026-03-19T14:35:00Z",
"age": "25m",
"labels": {
"app": "api-gateway",
"team": "backend"
}
}
]
}
Authorizations
Bearer token issued by the operator. Format: Authorization: Bearer <token>.
Query Parameters
Filter by severity: critical, high, medium, low.
Available options:
critical, high, medium, low Filter by state: Detected, Analyzing, Remediating, Resolved, Escalated, Failed.
Available options:
Detected, Analyzing, Remediating, Resolved, Escalated, Failed Filter by Kubernetes namespace.
Filter by resource (e.g. Deployment/payment-service).
ISO 8601 timestamp — only return incidents detected at or after this time.
Example:
"2026-03-19T00:00:00Z"
Page number.
Items per page (max 100).
Required range:
x <= 100⌘I