Skip to main content
GET
Get AI Insight
string
obrigatório
Nome do AI insight, <issue>-insight (ex.: payment-service-oom-kill-1773933600-insight)
string
padrão:"default"
Namespace do Kubernetes. O padrão é default (outros namespaces não são pesquisados), então informe o namespace do insight explicitamente.

Campos da Resposta

spec traz o item completo do insight (os campos de Listar AI Insights, incluindo issueRef, provider e model); status é o status Kubernetes bruto do recurso, com os campos de análise abaixo.

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

AIInsight name.

Exemplo:

"payment-oom-insight"

Parâmetros de consulta

namespace
string
padrão:default

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

Resposta

AI insight details

apiVersion
string
Exemplo:

"v1"

kind
string
Exemplo:

"AIInsight"

resourceMeta
object
spec
object
status
object

The AIInsight CR status, unchanged.