Skip to main content
GET
List Remediations
string
Filtrar por namespace do Kubernetes (omita para todos os namespaces)
string
Filtrar por estado (sem diferenciar maiúsculas): Pending, WaitingApproval, Executing, Verifying, Completed, Failed, RolledBack
string
Filtrar pelo nome do Issue pai (ex.: payment-service-oom-kill-1773933600)
integer
padrão:"1"
Número da página para paginação
integer
padrão:"20"
Itens por página (máximo 100)

Modos de Remediação

Cada plano opera em um dos dois modos:
  • Modo Runbook (agenticMode: false): Executa uma sequência pré-definida de ações a partir de um runbook correspondente
  • Modo Agêntico (agenticMode: true): Remediação passo a passo orientada por IA, onde o LLM propõe ações, observa resultados e decide os próximos passos
Os planos se chamam <issue>-plan-<tentativa>. Campos opcionais vazios (result, actions, startedAt, completedAt) são omitidos.

Autorizações

X-API-Key
string
header
obrigatório

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).

Parâmetros de consulta

namespace
string

Kubernetes namespace. Empty means all namespaces.

state
enum<string>

Case-insensitive match on status.state.

Opções disponíveis:
Pending,
WaitingApproval,
Executing,
Verifying,
Completed,
Failed,
RolledBack
issue
string

Exact match on spec.issueRef.name.

page
integer
padrão:1

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

Intervalo obrigatório: x >= 1
pageSize
integer
padrão:20

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

Intervalo obrigatório: 1 <= x <= 100

Resposta

Paginated list of remediation plans

apiVersion
string
Exemplo:

"v1"

kind
string
Exemplo:

"RemediationPlanList"

metadata
object
items
object[]