Skip to main content
GET
List Incidents
Cada item é um custom resource Issue projetado no formato de incidente abaixo. Os filtros são de igualdade exata e combinados com AND.
string
Só incidentes deste namespace do Kubernetes. Omita para listar todos os namespaces.
string
Filtrar por severidade: critical, high, medium, low
string
Filtrar por estado: Detected, Analyzing, Remediating, Contained, Resolved, Escalated, Failed
string
Só incidentes criados a partir deste horário RFC 3339 (ex.: 2026-03-19T00:00:00Z)
string
Só incidentes criados até este horário RFC 3339
integer
padrão:"1"
Número da página
integer
padrão:"20"
Itens por página (máximo 100)
requiresHumanAction é true quando o incidente está Contained (o operator silenciou o workload e uma pessoa precisa restaurá-lo), e requiredAction diz o que fazer. chaosInduced / chaosExperiment aparecem quando o incidente foi correlacionado a um ChaosExperiment ativo. Campos opcionais vazios 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.

severity
enum<string>

Exact match on spec.severity.

Opções disponíveis:
critical,
high,
medium,
low
state
enum<string>

Exact match on status.state.

Opções disponíveis:
Detected,
Analyzing,
Remediating,
Contained,
Resolved,
Escalated,
Failed
from
string<date-time>

Start of the time range (RFC3339). Unparseable values are ignored.

Exemplo:

"2026-03-01T00:00:00Z"

to
string<date-time>

End of the time range (RFC3339). Unparseable values are ignored.

Exemplo:

"2026-03-19T23:59:59Z"

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 incidents

apiVersion
string
Exemplo:

"v1"

kind
string
Exemplo:

"IncidentList"

metadata
object
items
object[]