Get Incident Remediation
curl --request GET \
--url http://{host}:{port}/{basePath}/incidents/{name}/remediation \
--header 'Authorization: <api-key>'import requests
url = "http://{host}:{port}/{basePath}/incidents/{name}/remediation"
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}/remediation', 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}/remediation",
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}/remediation"
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}/remediation")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://{host}:{port}/{basePath}/incidents/{name}/remediation")
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": "Remediation",
"metadata": {
"name": "INC-20260319-001",
"namespace": "production"
},
"spec": {
"runbook": "runbook-oomkill-standard",
"strategy": "automated",
"approvalRequired": true,
"rollbackOnFailure": true
},
"status": {
"phase": "PendingApproval",
"steps": [
{
"name": "diagnose-memory-usage",
"description": "Collect container memory usage metrics",
"status": "Completed",
"startedAt": "2026-03-19T15:20:30Z",
"completedAt": "2026-03-19T15:20:45Z",
"output": "Uso medio: 498Mi/512Mi (97.2%)"
},
{
"name": "patch-resource-limits",
"description": "Update Deployment memory limit to 1Gi",
"status": "PendingApproval",
"approvalName": "APR-20260319-001"
},
{
"name": "verify-stability",
"description": "Verify pod stability after patch",
"status": "Pending"
},
{
"name": "update-hpa",
"description": "Adjust HPA for the new resource configuration",
"status": "Pending"
}
],
"estimatedDuration": "5m",
"riskLevel": "medium",
"preflightSnapshot": {
"resourceKind": "Deployment",
"resourceName": "checkout-service",
"namespace": "production",
"replicas": 3,
"containerImages": {"app": "ghcr.io/myorg/checkout:v2.1.0"},
"containerResources": {
"app": {"cpuRequest": "200m", "cpuLimit": "1000m", "memoryRequest": "256Mi", "memoryLimit": "512Mi"}
},
"hpaMinReplicas": 2,
"hpaMaxReplicas": 8,
"capturedAt": "2026-03-19T15:20:25Z"
},
"actionCheckpoints": [
{"actionIndex": 0, "actionType": "diagnose-memory-usage", "success": true, "timestamp": "2026-03-19T15:20:30Z"},
{"actionIndex": 1, "actionType": "patch-resource-limits", "success": false, "timestamp": "2026-03-19T15:20:50Z"}
],
"rollbackPerformed": false,
"postFailureHealthy": null
}
}
Incidents
Get Incident Remediation
Returns the remediation plan and its execution status for an incident
GET
/
incidents
/
{name}
/
remediation
Get Incident Remediation
curl --request GET \
--url http://{host}:{port}/{basePath}/incidents/{name}/remediation \
--header 'Authorization: <api-key>'import requests
url = "http://{host}:{port}/{basePath}/incidents/{name}/remediation"
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}/remediation', 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}/remediation",
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}/remediation"
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}/remediation")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://{host}:{port}/{basePath}/incidents/{name}/remediation")
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": "Remediation",
"metadata": {
"name": "INC-20260319-001",
"namespace": "production"
},
"spec": {
"runbook": "runbook-oomkill-standard",
"strategy": "automated",
"approvalRequired": true,
"rollbackOnFailure": true
},
"status": {
"phase": "PendingApproval",
"steps": [
{
"name": "diagnose-memory-usage",
"description": "Collect container memory usage metrics",
"status": "Completed",
"startedAt": "2026-03-19T15:20:30Z",
"completedAt": "2026-03-19T15:20:45Z",
"output": "Uso medio: 498Mi/512Mi (97.2%)"
},
{
"name": "patch-resource-limits",
"description": "Update Deployment memory limit to 1Gi",
"status": "PendingApproval",
"approvalName": "APR-20260319-001"
},
{
"name": "verify-stability",
"description": "Verify pod stability after patch",
"status": "Pending"
},
{
"name": "update-hpa",
"description": "Adjust HPA for the new resource configuration",
"status": "Pending"
}
],
"estimatedDuration": "5m",
"riskLevel": "medium",
"preflightSnapshot": {
"resourceKind": "Deployment",
"resourceName": "checkout-service",
"namespace": "production",
"replicas": 3,
"containerImages": {"app": "ghcr.io/myorg/checkout:v2.1.0"},
"containerResources": {
"app": {"cpuRequest": "200m", "cpuLimit": "1000m", "memoryRequest": "256Mi", "memoryLimit": "512Mi"}
},
"hpaMinReplicas": 2,
"hpaMaxReplicas": 8,
"capturedAt": "2026-03-19T15:20:25Z"
},
"actionCheckpoints": [
{"actionIndex": 0, "actionType": "diagnose-memory-usage", "success": true, "timestamp": "2026-03-19T15:20:30Z"},
{"actionIndex": 1, "actionType": "patch-resource-limits", "success": false, "timestamp": "2026-03-19T15:20:50Z"}
],
"rollbackPerformed": false,
"postFailureHealthy": null
}
}
string
required
Unique incident name (e.g.,
INC-20260319-001){
"apiVersion": "v1",
"kind": "Remediation",
"metadata": {
"name": "INC-20260319-001",
"namespace": "production"
},
"spec": {
"runbook": "runbook-oomkill-standard",
"strategy": "automated",
"approvalRequired": true,
"rollbackOnFailure": true
},
"status": {
"phase": "PendingApproval",
"steps": [
{
"name": "diagnose-memory-usage",
"description": "Collect container memory usage metrics",
"status": "Completed",
"startedAt": "2026-03-19T15:20:30Z",
"completedAt": "2026-03-19T15:20:45Z",
"output": "Uso medio: 498Mi/512Mi (97.2%)"
},
{
"name": "patch-resource-limits",
"description": "Update Deployment memory limit to 1Gi",
"status": "PendingApproval",
"approvalName": "APR-20260319-001"
},
{
"name": "verify-stability",
"description": "Verify pod stability after patch",
"status": "Pending"
},
{
"name": "update-hpa",
"description": "Adjust HPA for the new resource configuration",
"status": "Pending"
}
],
"estimatedDuration": "5m",
"riskLevel": "medium",
"preflightSnapshot": {
"resourceKind": "Deployment",
"resourceName": "checkout-service",
"namespace": "production",
"replicas": 3,
"containerImages": {"app": "ghcr.io/myorg/checkout:v2.1.0"},
"containerResources": {
"app": {"cpuRequest": "200m", "cpuLimit": "1000m", "memoryRequest": "256Mi", "memoryLimit": "512Mi"}
},
"hpaMinReplicas": 2,
"hpaMaxReplicas": 8,
"capturedAt": "2026-03-19T15:20:25Z"
},
"actionCheckpoints": [
{"actionIndex": 0, "actionType": "diagnose-memory-usage", "success": true, "timestamp": "2026-03-19T15:20:30Z"},
{"actionIndex": 1, "actionType": "patch-resource-limits", "success": false, "timestamp": "2026-03-19T15:20:50Z"}
],
"rollbackPerformed": false,
"postFailureHealthy": null
}
}
{
"apiVersion": "v1",
"kind": "Error",
"error": {
"code": 404,
"message": "Remediation not found",
"details": "No remediation plan has been generated for incident 'INC-20260319-001'"
}
}
Authorizations
Bearer token issued by the operator. Format: Authorization: Bearer <token>.
Path Parameters
Unique incident name.
Example:
"INC-20260319-001"
⌘I