Skip to main content
GET
Get Remediation Plan
string
required
Remediation plan name, <issue>-plan-<attempt> (e.g., checkout-api-error-rate-1773932940-plan-1)
string
default:"default"
Kubernetes namespace. Defaults to default (it does not search other namespaces), so pass the plan’s namespace explicitly.

Response Details

spec is the list item extended with the fields below; status is the plan’s raw Kubernetes status (including preflightSnapshot, actionCheckpoints, actionsCompletedAt and postFailureHealthy when set).

Agentic History

When agenticMode is true, the agenticHistory array shows the complete AI conversation:
  • aiMessage: The AI’s reasoning for each step
  • action: The concrete action proposed (omitted for an observation-only step)
  • observation: The result after executing the action
  • stepNumber: Sequential step number
This is the key data for understanding how the AI thought through the remediation process.

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

RemediationPlan name.

Example:

"payment-oom-plan-1"

Query Parameters

namespace
string
default:default

Namespace of the object. Defaults to default — pass it for objects in any other namespace.

Response

Remediation plan details

apiVersion
string
Example:

"v1"

kind
string
Example:

"RemediationPlan"

resourceMeta
object
spec
object
status
object

The RemediationPlan CR status, unchanged.