Skip to main content
GET
Get Incident Remediation
string
required
Name of the Issue resource (e.g., payment-service-oom-kill-1773933600)
string
Only plans in this namespace. When omitted, plans from every namespace whose issueRef matches the name are returned.
integer
default:"1"
Page number
integer
default:"20"
Items per page (maximum 100)
Returns every RemediationPlan whose issueRef is this incident — one per attempt (<issue>-plan-1, <issue>-plan-2, …) — in the same item shape as List Remediations. An incident with no plan yet returns an empty list (totalCount: 0), not 404; the incident itself is not looked up. For evidence, rollback data and the agentic history of one plan, use Get Remediation Plan.

Authorizations

X-API-Key
string
header
required

API key sent in the X-API-Key header. Keys are read from the Secret chatcli-operator-secrets, key api-keys (fallback: ConfigMap chatcli-operator-config, key api-keys) in the operator namespace, as a YAML list of {key, role, name, description} (name is the identity recorded on approval decisions); the operator chart creates it only with apiKeys.create: true. Roles: viewer < operator < admin — any other role string is denied everywhere. Changes are picked up within about 30 seconds; deleting both the Secret and the ConfigMap revokes every key. With no keys configured every /api/ call returns 401, unless CHATCLI_OPERATOR_DEV_MODE=true, which grants admin without a key (development only).

Path Parameters

name
string
required

Issue name.

Example:

"payment-service-oom-1710860400"

Query Parameters

namespace
string

Kubernetes namespace. Empty means all namespaces.

page
integer
default:1

Page number (1-based). Invalid values fall back to 1.

Required range: x >= 1
pageSize
integer
default:20

Items per page. Values above 100 are capped at 100.

Required range: 1 <= x <= 100

Response

Remediation plans of the incident

apiVersion
string
Example:

"v1"

kind
string
Example:

"RemediationPlanList"

metadata
object
items
object[]