Skip to main content
GET
Get Runbook
string
required
Runbook name (e.g., oomkill-standard)
string
default:"default"
Namespace of the runbook. Defaults to default (other namespaces are not searched).
spec carries the runbook in the same shape as List Runbooks; resourceMeta carries its Kubernetes metadata (uid, labels, annotations). There is no status.

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, description}; no chart creates it. Roles: viewer < operator < admin — any other role string is denied everywhere. Changes are picked up within about 30 seconds. 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

Runbook name.

Example:

"oom-standard"

Query Parameters

namespace
string
default:default

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

Response

Runbook

apiVersion
string
Example:

"v1"

kind
string
Example:

"Runbook"

spec
object
resourceMeta
object