Skip to main content
GET
Get Incident Timeline
string
obrigatório
Nome do recurso Issue (ex.: payment-service-oom-kill-1773933600)
string
Só procura o PostMortem neste namespace. Se omitido, todos os namespaces são pesquisados.
A timeline é lida do PostMortem cujo issueRef é este incidente (status.timeline). O PostMortem é gerado quando um RemediationPlan do incidente termina (resolvido ou contido), então um incidente ainda em análise ou remediação, escalado sem plano concluído, ou resolvido manualmente ainda não tem timeline e retorna 404. Os valores de type gravados pelo operator são detected, action_executed, action_failed e resolved; no modo agêntico cada passo vira um evento cujo detail inclui o raciocínio da IA. A lista não é paginada (page é sempre 1).

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 caminho

name
string
obrigatório

Issue name.

Exemplo:

"payment-service-oom-1710860400"

Parâmetros de consulta

namespace
string

Kubernetes namespace. Empty means all namespaces.

Resposta

Timeline events

apiVersion
string
Exemplo:

"v1"

kind
string
Exemplo:

"IncidentTimeline"

metadata
object
items
object[]