Nome do runbook (um nome de recurso do Kubernetes, ex.: disk-cleanup)
string
padrão:"default"
Namespace onde o runbook será criado
string
Objetivo do runbook
object
obrigatório
Quando o runbook se aplica. Os três campos são obrigatórios no CRD.
Mostrar Propriedades do trigger
string
obrigatório
Sinal da anomalia, ex.: oom_kill, crashloop_backoff, error_rate, latency, pod_restart, cpu_high, memory_high, disk_pressure, image_pull_error (lista completa no enum do CRD Anomaly)
string
obrigatório
critical, high, medium ou low
string
obrigatório
Kind do recurso afetado, ex.: Deployment, StatefulSet, DaemonSet, Job, CronJob
object[]
obrigatório
Passos em ordem
Mostrar Propriedades do passo
string
obrigatório
Nome do passo
string
obrigatório
Tipo de ação de remediação, ex.: AdjustResources, RestartDeployment, ScaleDeployment, RollbackDeployment, ExecDiagnostic
string
Por que o passo é necessário e o que ele faz
object
Parâmetros chave/valor (strings) da ação (ex.: {"memory_limit": "1Gi"}, {"replicas": "5"})
integer
padrão:"3"
Número máximo de tentativas de remediação; 0 ou omitido significa 3
object
Labels do Kubernetes para o Runbook
A resposta é 201 Created, com o runbook em spec e os metadados em resourceMeta. name ausente ou JSON malformado retornam 400; uma falha da API do Kubernetes retorna a mensagem do API server com o status correspondente: 409 só quando já existe um runbook com esse nome, 422 quando o API server rejeita o objeto (valor fora dos enums do CRD, campo obrigatório ausente), 403 quando o operator não tem permissão para criá-lo e 500 nos demais casos.
{ "name": "disk-cleanup", "namespace": "production", "description": "Free disk space when a StatefulSet reports disk pressure", "trigger": { "signalType": "disk_pressure", "severity": "medium", "resourceKind": "StatefulSet" }, "steps": [ { "name": "diagnose", "action": "ExecDiagnostic", "description": "Check filesystem usage", "params": { "command": "df -h" } }, { "name": "restart-pod", "action": "RestartStatefulSetPod", "description": "Restart the affected pod" } ], "labels": { "team": "storage" }}
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).
Corpo
application/json
name
string
obrigatório
Required on create; ignored on update.
Exemplo:
"oom-standard"
namespace
string
padrão:default
Create only; ignored on update.
description
string
trigger
object
Show child attributes
steps
object[]
Show child attributes
maxAttempts
integer
Defaults to 3 on create; on update only values > 0 are applied.
labels
object
Show child attributes
Resposta
Runbook created
apiVersion
string
Exemplo:
"v1"
kind
string
Exemplo:
"Runbook"
spec
object
Show child attributes
resourceMeta
object
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"ChatCLI","description":"Official ChatCLI documentation — a multi-provider AI CLI with agent mode, gRPC server and Kubernetes operator.","colors":{"primary":"#0F766E","light":"#2DD4BF","dark":"#0D9488"},"logo":{"light":"https://mintcdn.com/encom/Rcdb5Pr5hpjwN46r/images/logo-light.svg?fit=max\u0026auto=format\u0026n=Rcdb5Pr5hpjwN46r\u0026q=85\u0026s=965a0feb9bd2f65a11b3c486e2488101","dark":"https://mintcdn.com/encom/Rcdb5Pr5hpjwN46r/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=Rcdb5Pr5hpjwN46r\u0026q=85\u0026s=ac3f6607cdea0039d0b66b80f700e512","href":"/"},"favicon":"https://mintcdn.com/encom/Rcdb5Pr5hpjwN46r/images/favicon.svg?fit=max\u0026auto=format\u0026n=Rcdb5Pr5hpjwN46r\u0026q=85\u0026s=c774e29d1b243b7c3b4bf5e173fef299","api":{"openapi":"api-reference/openapi.json","playground":{"display":"interactive"}},"appearance":{"default":"dark","strict":false},"background":{"color":{"light":"#F7F7F5","dark":"#0E0F10"}},"navbar":{"links":[{"href":"/cookbook/agent-refactoring","label":"Cookbook"},{"href":"/releases","label":"Releases"},{"href":"https://github.com/diillson/chatcli","type":"github"}],"primary":{"type":"button","label":"Install","href":"/start/installation"}},"footer":{"socials":{"github":"https://github.com/diillson/chatcli","x":"https://x.com/diillson"},"links":[{"header":"Resources","items":[{"label":"Documentation","href":"/"},{"label":"Cookbook","href":"/cookbook/agent-refactoring"},{"label":"API Reference","href":"/reference/api/overview"}]},{"header":"Community","items":[{"label":"GitHub","href":"https://github.com/diillson/chatcli"},{"label":"Issues","href":"https://github.com/diillson/chatcli/issues"},{"label":"Discussions","href":"https://github.com/diillson/chatcli/discussions"},{"label":"Releases","href":"https://github.com/diillson/chatcli/releases"}]},{"header":"Distribution","items":[{"label":"ArtifactHub","href":"https://artifacthub.io/packages/search?ts_query_web=chatcli"},{"label":"Helm Charts","href":"https://artifacthub.io/packages/helm/chatcli/chatcli"},{"label":"Container Registry","href":"https://github.com/diillson/chatcli/pkgs/container/chatcli"}]}]},"search":{"prompt":"Search"},"seo":{"metatags":{"og:type":"website","og:site_name":"ChatCLI Documentation","twitter:card":"summary_large_image","twitter:site":"@diillson"}},"fonts":{"heading":{"family":"Geist","weight":600},"body":{"family":"Geist"}},"styling":{"eyebrows":"section","codeblocks":"system","latex":true},"integrations":{},"errors":{"404":{"redirect":false}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"interaction":{"drilldown":true},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"pt-BR","footer":{"socials":{"github":"https://github.com/diillson/chatcli","x":"https://x.com/diillson"},"links":[{"header":"Recursos","items":[{"label":"Documentação","href":"/pt"},{"label":"Cookbook","href":"/pt/cookbook/agent-refactoring"},{"label":"API Reference","href":"/pt/reference/api/overview"}]},{"header":"Comunidade","items":[{"label":"GitHub","href":"https://github.com/diillson/chatcli"},{"label":"Issues","href":"https://github.com/diillson/chatcli/issues"},{"label":"Discussions","href":"https://github.com/diillson/chatcli/discussions"},{"label":"Releases","href":"https://github.com/diillson/chatcli/releases"}]},{"header":"Distribuição","items":[{"label":"ArtifactHub","href":"https://artifacthub.io/packages/search?ts_query_web=chatcli"},{"label":"Helm Charts","href":"https://artifacthub.io/packages/helm/chatcli/chatcli"},{"label":"Container Registry","href":"https://github.com/diillson/chatcli/pkgs/container/chatcli"}]}]},"navbar":{"links":[{"href":"/pt/cookbook/agent-refactoring","label":"Cookbook"},{"href":"/pt/releases","label":"Releases"},{"href":"https://github.com/diillson/chatcli","type":"github"}],"primary":{"type":"button","label":"Instalar","href":"/pt/start/installation"}},"href":"pt"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"encom","hasAudioNarration":false,"actualSubdomain":"encom","customDomains":["chatcli.edilsonfreitas.com"],"gitSource":{"type":"github","owner":"diillson","repo":"chatcli.ai","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aff9ac625075f4df62d0c75","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"en","tag":"Documentation","count":206},{"language":"pt-BR","tag":"Documentação","count":206},{"language":"en","tag":"Reference","count":55},{"language":"pt-BR","tag":"Referência","count":55},{"language":"en","tag":"REST API","count":50},{"language":"pt-BR","tag":"REST API","count":50},{"language":"en","tag":"Agents","count":20},{"language":"pt-BR","tag":"Agentes","count":20},{"language":"en","tag":"Context \u0026 memory","count":16},{"language":"en","tag":"Cookbook","count":16},{"language":"pt-BR","tag":"Contexto e memória","count":16},{"language":"pt-BR","tag":"Cookbook","count":16},{"language":"en","tag":"Using ChatCLI","count":15},{"language":"pt-BR","tag":"Usando o ChatCLI","count":15},{"language":"en","tag":"Kubernetes \u0026 AIOps","count":14},{"language":"pt-BR","tag":"Kubernetes e AIOps","count":14},{"language":"en","tag":"Tools","count":13},{"language":"pt-BR","tag":"Ferramentas","count":13},{"language":"en","tag":"Channels \u0026 gateway","count":11},{"language":"pt-BR","tag":"Canais e gateway","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--cc-accent: #0f766e;--cc-accent-strong: #115e59;--cc-accent-soft: rgb(13 148 136 / 0.08);--cc-accent-ring: rgb(13 148 136 / 0.32);--cc-glow: rgb(20 184 166 / 0.07);--cc-text: #17171a;--cc-text-2: #46464e;--cc-text-3: #6b6b74;--cc-surface: #ffffff;--cc-surface-2: #f1f0ed;--cc-code-bg: #f3f2ef;--cc-border: rgb(23 23 26 / 0.10);--cc-border-strong: rgb(23 23 26 / 0.18);--cc-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px -12px rgb(0 0 0 / 0.10);--cc-radius: 0.75rem;--cc-radius-sm: 0.5rem;--cc-mono: \"Geist Mono\", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace}html.dark{--cc-accent: #2dd4bf;--cc-accent-strong: #5eead4;--cc-accent-soft: rgb(45 212 191 / 0.12);--cc-accent-ring: rgb(45 212 191 / 0.40);--cc-glow: rgb(45 212 191 / 0.08);--cc-text: #ededed;--cc-text-2: #bcbcc4;--cc-text-3: #8e8e96;--cc-surface: #161719;--cc-surface-2: #1c1d20;--cc-code-bg: #121314;--cc-border: rgb(154 154 162 / 0.16);--cc-border-strong: rgb(154 154 162 / 0.28);--cc-shadow: 0 1px 2px rgb(0 0 0 / 0.25), 0 12px 32px -16px rgb(0 0 0 / 0.6)}::selection{background:var(--cc-accent-ring)}body::before{content:\"\";position:fixed;inset:0 0 auto auto;width:60vw;height:32rem;pointer-events:none;z-index:0;background:radial-gradient(ellipse at 75% 0%, var(--cc-glow), transparent 65%)}#navbar{backdrop-filter:saturate(140%) blur(12px)}#navbar #search-bar-entry{border-radius:var(--cc-radius-sm);border-color:var(--cc-border);background:var(--cc-surface);box-shadow:none}#topbar-cta-button a{border-radius:var(--cc-radius-sm);font-weight:500}#sidebar-title{font-size:0.75rem;font-weight:500;letter-spacing:0.01em;color:var(--cc-text-3)}#sidebar #navigation-items a{font-size:0.875rem;border-radius:var(--cc-radius-sm)}#sidebar #navigation-items a.text-primary,#sidebar #navigation-items a[class*=\"bg-primary\"]{background:var(--cc-accent-soft);color:var(--cc-accent);text-shadow:none;font-weight:500}.nav-tag-pill-text{font-family:var(--cc-mono);font-weight:500!important;letter-spacing:0.02em}#header .eyebrow{color:var(--cc-accent);font-size:0.8125rem;font-weight:500}#page-title{font-size:clamp(2rem, 3.2vw, 2.5rem);font-weight:600;letter-spacing:-0.025em;line-height:1.15}#header .prose{color:var(--cc-text-2)}#page-context-menu-button,#page-context-menu button{border-radius:var(--cc-radius-sm)}#content{font-size:0.975rem}#content h2{letter-spacing:-0.02em;font-weight:600}#content h3{letter-spacing:-0.01em;font-weight:600}#content a:not(.card):not([class*=\"cc-\"]){text-decoration-color:var(--cc-accent-ring);text-underline-offset:3px}#content a:not(.card):not([class*=\"cc-\"]):hover{text-decoration-color:var(--cc-accent)}code,pre,kbd,.font-mono{font-family:var(--cc-mono)!important}#content :not(pre)>code{font-size:0.85em;padding:0.1em 0.38em;border-radius:0.375rem;border:1px solid var(--cc-border);background:var(--cc-surface-2)}.code-block,[data-component-part=\"code-block-root\"]{border-radius:var(--cc-radius)!important;border-color:var(--cc-border)!important}.code-block-background{border-radius:var(--cc-radius)!important}html.dark .code-block-background{background:var(--cc-code-bg)!important}#content table{font-size:0.9rem}#content table thead th{font-size:0.8125rem;font-weight:600;color:var(--cc-text-2);border-bottom:1px solid var(--cc-border-strong)}#content table td{border-color:var(--cc-border)}.callout{border-radius:var(--cc-radius)!important;border:1px solid var(--cc-border)!important;background:var(--cc-surface)!important;box-shadow:var(--cc-shadow)}.callout>div:last-child,.callout>div:last-child *{color:var(--cc-text-2)}.callout>div:last-child strong,.callout>div:last-child code{color:var(--cc-text)!important}.callout[data-callout-type=\"warning\"]{border-left:3px solid #f59e0b!important}.callout[data-callout-type=\"danger\"]{border-left:3px solid #ef4444!important}.card{border-radius:var(--cc-radius)!important;border-color:var(--cc-border)!important;background:var(--cc-surface)!important;transition:border-color 160ms ease, transform 160ms ease}a.card:hover{border-color:var(--cc-accent-ring)!important}.card [data-component-part=\"card-icon\"]{display:grid;place-items:center;width:2.25rem;height:2.25rem;margin-bottom:0.25rem;border-radius:var(--cc-radius-sm);border:1px solid var(--cc-border);background:var(--cc-surface-2)}.card [data-component-part=\"card-icon\"] svg{width:1rem!important;height:1rem!important;background-color:var(--cc-accent)!important}.steps [data-component-part=\"step-number\"]>div{background:var(--cc-surface)!important;box-shadow:0 0 0 1px var(--cc-accent-ring);color:var(--cc-accent)!important;font-family:var(--cc-mono)}[role=\"tablist\"] button[aria-selected=\"true\"],[role=\"tablist\"] [data-state=\"active\"]{color:var(--cc-accent)!important;border-color:var(--cc-accent)!important}#content-area:has([data-chatcli-banner]) #header .eyebrow,#content-area:has([data-chatcli-banner]) #page-title,#content-area:has([data-chatcli-banner]) #header .prose,#content-area:has([data-chatcli-banner]) #header{display:none}#content-area:has([data-chatcli-banner]) #content{margin-top:0}.chatcli-banner{margin:3rem 0 0.75rem}.chatcli-banner-art{--cb-a: #0d9488;--cb-b: #0891b2;--cb-c: #2563eb;--cb-edge: rgb(23 23 26 / 0.28);--cb-glow: rgb(13 148 136 / 0.18);display:block;width:min(100%, 30rem);height:auto;overflow:visible}html.dark .chatcli-banner-art{--cb-a: #2dd4bf;--cb-b: #22d3ee;--cb-c: #60a5fa;--cb-edge: rgb(237 237 237 / 0.22);--cb-glow: rgb(45 212 191 / 0.34)}.chatcli-banner .cb-fills rect{shape-rendering:crispEdges}.chatcli-banner .cb-fills{filter:drop-shadow(0 0 14px var(--cb-glow))}.chatcli-banner .cb-edges path{fill:none;stroke:var(--cb-edge);stroke-width:0.55;stroke-linecap:square}.cb-prompt{margin:0 0 1.25rem;font-family:var(--cc-mono);font-size:0.95rem;color:var(--cc-text-2)}.cb-prompt-sign{color:var(--cc-accent)}.cb-cursor{display:inline-block;width:0.55em;height:1.1em;margin-left:0.3em;vertical-align:-0.18em;background:var(--cc-accent);animation:cb-blink 1.1s steps(1) infinite}@keyframes cb-blink{50%{opacity:0}}@media (prefers-reduced-motion: reduce){.cb-cursor{animation:none}}.chatcli-banner-tagline{font-size:1.125rem;line-height:1.6;margin:0 0 2rem;max-width:44rem;color:var(--cc-text-2)}.chatcli-banner-tagline strong{color:var(--cc-text);font-weight:500}a.cc-release{display:flex;align-items:center;gap:0.75rem;padding:0.85rem 1.1rem;margin:0 0 1.25rem;border:1px solid var(--cc-border);border-radius:var(--cc-radius);background:var(--cc-surface);color:var(--cc-text-2);font-size:0.875rem;text-decoration:none!important;border-bottom-width:1px;transition:border-color 160ms ease}a.cc-release:hover{border-color:var(--cc-accent-ring)}.cc-release-label{color:var(--cc-text-3);white-space:nowrap}.cc-release-version{display:inline-flex;align-items:center;gap:0.4rem;font-weight:600;color:var(--cc-text);white-space:nowrap}.cc-release-version::before{content:\"\";width:0.4rem;height:0.4rem;border-radius:999px;background:var(--cc-live);box-shadow:0 0 0 3px var(--cc-live-soft)}.cc-release-summary{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-release-cta{font-weight:500;color:var(--cc-text);white-space:nowrap}.cc-entry{margin:0 0 3rem}.cc-entry>div{gap:0!important;border:1px solid var(--cc-border);border-radius:var(--cc-radius);overflow:hidden;background:var(--cc-surface)}.cc-entry .card{margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;height:100%}.cc-entry .card:hover{background:var(--cc-accent-soft)!important}@media (min-width: 1024px){.cc-entry .card{border-left:1px solid var(--cc-border)!important}.cc-entry>div>:first-child .card,.cc-entry>div>.card:first-child{border-left:0!important}}@media (max-width: 1023px){.cc-entry .card{border-top:1px solid var(--cc-border)!important}.cc-entry>div>:first-child .card,.cc-entry>div>.card:first-child{border-top:0!important}a.cc-release{flex-wrap:wrap}.cc-release-summary{flex-basis:100%;white-space:normal}}.cc-release-meta{display:flex;flex-wrap:wrap;gap:0.5rem 1.25rem;margin:0 0 1.5rem;font-size:0.875rem;color:var(--cc-text-3)}.cc-release-meta a{color:var(--cc-text-2)!important}.cc-scope{display:inline-block;margin-right:0.35rem;padding:0.05rem 0.4rem;border-radius:0.375rem;border:1px solid var(--cc-border);background:var(--cc-surface-2);font-family:var(--cc-mono);font-size:0.78em;color:var(--cc-text-2);vertical-align:0.08em}a.cc-scope{text-decoration:none!important;color:var(--cc-accent)!important}.cc-refs{font-size:0.85em;color:var(--cc-text-3);white-space:nowrap}.cc-refs a{color:var(--cc-text-3)!important}html{--cc-live: #15803d;--cc-live-soft: rgb(21 128 61 / 0.10)}html.dark{--cc-live: #4ade80;--cc-live-soft: rgb(74 222 128 / 0.12)}.nav-tag-pill-text[data-nav-tag^=\"v\"],.nav-tag-pill-text[data-nav-tag=\"Latest\"],.nav-tag-pill-text[data-nav-tag=\"Mais recente\"]{display:inline-flex;align-items:center;gap:0.3rem;color:var(--cc-live)!important;background:var(--cc-live-soft)!important}.nav-tag-pill-text[data-nav-tag^=\"v\"]::before,.nav-tag-pill-text[data-nav-tag=\"Latest\"]::before,.nav-tag-pill-text[data-nav-tag=\"Mais recente\"]::before{content:\"\";width:0.35rem;height:0.35rem;border-radius:999px;background:currentColor}.cc-nav-back{display:flex;align-items:center;gap:0.6rem;width:100%;margin:0 0 1rem;padding:0.6rem 0.85rem;border:1px solid var(--cc-border);border-radius:var(--cc-radius-sm);background:var(--cc-surface);color:var(--cc-text);font-size:0.875rem;font-weight:600;text-align:left;cursor:pointer;transition:border-color 160ms ease, background 160ms ease}.cc-nav-back[hidden]{display:none}.cc-nav-back:hover{border-color:var(--cc-accent-ring)}.cc-nav-back svg{flex:none;color:var(--cc-text-3)}#navigation-items[data-cc-focus]>div:not(:has([data-cc-focused])){display:none}#navigation-items[data-cc-focus]>div:has([data-cc-focused]){margin-top:0}#navigation-items[data-cc-focus]>div:has([data-cc-focused])>:not(ul){display:none}#navigation-items[data-cc-focus] ul.sidebar-group>li:not([data-cc-focused]){display:none}#navigation-items[data-cc-focus] [data-cc-focused]>button{display:none}#navigation-items[data-cc-focus] [data-cc-focused]>ul>li>a,#navigation-items[data-cc-focus] [data-cc-focused]>ul>li>button{padding-left:1rem!important}#navigation-items[data-cc-focus] [data-cc-focused]>ul>li>ul a,#navigation-items[data-cc-focus] [data-cc-focused]>ul>li>ul button{padding-left:1.75rem!important}#navigation-items.cc-nav-in{animation:cc-nav-in 220ms cubic-bezier(0.23, 1, 0.32, 1)}#navigation-items.cc-nav-out{animation:cc-nav-out 220ms cubic-bezier(0.23, 1, 0.32, 1)}@keyframes cc-nav-in{from{opacity:0;transform:translateX(18px)}}@keyframes cc-nav-out{from{opacity:0;transform:translateX(-18px)}}@media (prefers-reduced-motion: reduce){#navigation-items.cc-nav-in,#navigation-items.cc-nav-out{animation:none}}.cc-channels{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:0.85rem;margin:1.25rem 0 2rem}@media (max-width: 900px){.cc-channels{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media (max-width: 520px){.cc-channels{grid-template-columns:1fr}}a.cc-channel{display:flex;align-items:center;gap:0.85rem;padding:1rem 1.1rem;border:1px solid var(--cc-border);border-radius:var(--cc-radius);background:var(--cc-surface);color:var(--cc-text)!important;font-weight:500;font-size:0.95rem;text-decoration:none!important;transition:border-color 160ms ease, transform 160ms ease}a.cc-channel:hover{border-color:var(--cc-accent-ring)}.cc-channel-icon{display:grid;place-items:center;flex:none;width:1.6rem;height:1.6rem}.cc-channel-icon svg{width:1.45rem;height:1.45rem}.cc-channel-name{flex:1;min-width:0}.cc-channel-arrow{flex:none;width:1rem;height:1rem;color:var(--cc-text-3);transition:transform 160ms ease, color 160ms ease}a.cc-channel:hover .cc-channel-arrow{color:var(--cc-text);transform:translateX(2px)}.cc-ch-telegram{color:#26a5e4}.cc-ch-slack{color:#e01e5a}.cc-ch-discord{color:#5865f2}.cc-ch-whatsapp{color:#25d366}.cc-ch-webhook{color:var(--cc-accent)}.cc-ch-all{color:var(--cc-text-3)}html.dark .cc-ch-discord{color:#8991ff}#sidebar #navigation-items a,#sidebar #navigation-items button{font-size:0.8125rem!important;line-height:1.35rem;padding-top:0.3rem!important;padding-bottom:0.3rem!important}#sidebar #navigation-items svg{width:0.95rem;height:0.95rem}.cc-nav-back{font-size:0.8125rem}#table-of-contents,#table-of-contents a,#table-of-contents li{font-size:0.8125rem!important;line-height:1.3rem}#table-of-contents a{padding-top:0.2rem;padding-bottom:0.2rem}#content-container:has([data-chatcli-banner]){max-width:min(100%, 1440px)!important}#content-container:has([data-chatcli-banner]) #content-area{max-width:none!important}#navigation-items li[data-title]:not([id])>button>div:not(:has(svg)){flex:1 1 auto;min-width:0;text-align:left}body::after{content:\"\";position:absolute;top:0;right:0;z-index:0;width:min(78vw, 1100px);height:440px;pointer-events:none;background:linear-gradient(225deg, #2dd4bf 0%, #22d3ee 40%, #60a5fa 75%, transparent 100%);-webkit-mask:url(\"/images/hero-halftone.svg\") right top / 100% 100% no-repeat;mask:url(\"/images/hero-halftone.svg\") right top / 100% 100% no-repeat;opacity:0.6}html:not(.dark) body::after{background:linear-gradient(225deg, #0d9488 0%, #0891b2 40%, #2563eb 75%, transparent 100%);opacity:0.38}@media (max-width: 760px){body::after{width:100vw;height:280px;opacity:0.4}html:not(.dark) body::after{opacity:0.26}}#navigation-items li[data-title]:not([id])>button{position:relative}#navigation-items li[data-title]:not([id])>button>:last-child svg,#navigation-items li[data-title]:not([id])>button>svg:last-child{visibility:hidden}#navigation-items li[data-title]:not([id])>button::after{content:\"\";position:absolute;top:50%;right:0.7rem;width:12px;height:12px;margin-top:-6px;background:currentColor;-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m6 3.5 4.5 4.5L6 12.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m6 3.5 4.5 4.5L6 12.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\") center / contain no-repeat;opacity:0.42;pointer-events:none;transition:rotate 200ms cubic-bezier(0.23, 1, 0.32, 1), opacity 160ms ease}#navigation-items li[data-title]:not([id])>button[aria-expanded=\"true\"]::after{rotate:90deg}#navigation-items li[data-title]:not([id])>button:hover::after{opacity:0.75}@media (prefers-reduced-motion: reduce){#navigation-items li[data-title]:not([id])>button::after{transition:none}}"}]}
{"page":{"pagePath":"pt/reference/api/create-runbook","slug":"/pt/reference/api/create-runbook","pageMetadata":{"title":"Criar Runbook","openapi":"POST /runbooks","description":"Cria um novo recurso Runbook","icon":"plus","href":"/pt/reference/api/create-runbook"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Cria um novo recurso Runbook\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components},{Expandable,ParamField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsxs(_components.p,{children:[`Nome do runbook (um nome de recurso do Kubernetes, ex.: `,_jsx(_components.code,{children:`disk-cleanup`}),`)`]})}),`\n`,_jsx(ParamField,{body:`namespace`,type:`string`,default:`default`,id:`param-namespace`,children:_jsx(_components.p,{children:`Namespace onde o runbook será criado`})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Objetivo do runbook`})}),`\n`,_jsxs(ParamField,{body:`trigger`,type:`object`,required:true,id:`param-trigger`,children:[_jsx(_components.p,{children:`Quando o runbook se aplica. Os três campos são obrigatórios no CRD.`}),_jsxs(Expandable,{title:`Propriedades do trigger`,children:[_jsx(ParamField,{body:`signalType`,type:`string`,required:true,id:`param-signal-type`,children:_jsxs(_components.p,{children:[`Sinal da anomalia, ex.: `,_jsx(_components.code,{children:`oom_kill`}),`, `,_jsx(_components.code,{children:`crashloop_backoff`}),`, `,_jsx(_components.code,{children:`error_rate`}),`, `,_jsx(_components.code,{children:`latency`}),`, `,_jsx(_components.code,{children:`pod_restart`}),`, `,_jsx(_components.code,{children:`cpu_high`}),`, `,_jsx(_components.code,{children:`memory_high`}),`, `,_jsx(_components.code,{children:`disk_pressure`}),`, `,_jsx(_components.code,{children:`image_pull_error`}),` (lista completa no enum do CRD Anomaly)`]})}),_jsx(ParamField,{body:`severity`,type:`string`,required:true,id:`param-severity`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`critical`}),`, `,_jsx(_components.code,{children:`high`}),`, `,_jsx(_components.code,{children:`medium`}),` ou `,_jsx(_components.code,{children:`low`})]})}),_jsx(ParamField,{body:`resourceKind`,type:`string`,required:true,id:`param-resource-kind`,children:_jsxs(_components.p,{children:[`Kind do recurso afetado, ex.: `,_jsx(_components.code,{children:`Deployment`}),`, `,_jsx(_components.code,{children:`StatefulSet`}),`, `,_jsx(_components.code,{children:`DaemonSet`}),`, `,_jsx(_components.code,{children:`Job`}),`, `,_jsx(_components.code,{children:`CronJob`})]})})]})]}),`\n`,_jsxs(ParamField,{body:`steps`,type:`object[]`,required:true,id:`param-steps`,children:[_jsx(_components.p,{children:`Passos em ordem`}),_jsxs(Expandable,{title:`Propriedades do passo`,children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`Nome do passo`})}),_jsx(ParamField,{body:`action`,type:`string`,required:true,id:`param-action`,children:_jsxs(_components.p,{children:[`Tipo de ação de remediação, ex.: `,_jsx(_components.code,{children:`AdjustResources`}),`, `,_jsx(_components.code,{children:`RestartDeployment`}),`, `,_jsx(_components.code,{children:`ScaleDeployment`}),`, `,_jsx(_components.code,{children:`RollbackDeployment`}),`, `,_jsx(_components.code,{children:`ExecDiagnostic`})]})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`Por que o passo é necessário e o que ele faz`})}),_jsx(ParamField,{body:`params`,type:`object`,id:`param-params`,children:_jsxs(_components.p,{children:[`Parâmetros chave/valor (strings) da ação (ex.: `,_jsx(_components.code,{children:`{\"memory_limit\": \"1Gi\"}`}),`, `,_jsx(_components.code,{children:`{\"replicas\": \"5\"}`}),`)`]})})]})]}),`\n`,_jsx(ParamField,{body:`maxAttempts`,type:`integer`,default:`3`,id:`param-max-attempts`,children:_jsx(_components.p,{children:`Número máximo de tentativas de remediação; 0 ou omitido significa 3`})}),`\n`,_jsx(ParamField,{body:`labels`,type:`object`,id:`param-labels`,children:_jsx(_components.p,{children:`Labels do Kubernetes para o Runbook`})}),`\n`,_jsxs(_components.p,{children:[`A resposta é `,_jsx(_components.code,{children:`201 Created`}),`, com o runbook em `,_jsx(_components.code,{children:`spec`}),` e os metadados em `,_jsx(_components.code,{children:`resourceMeta`}),`. `,_jsx(_components.code,{children:`name`}),` ausente ou JSON malformado retornam `,_jsx(_components.code,{children:`400`}),`; uma falha da API do Kubernetes retorna a mensagem do API server com o status correspondente: `,_jsx(_components.code,{children:`409`}),` só quando já existe um runbook com esse nome, `,_jsx(_components.code,{children:`422`}),` quando o API server rejeita o objeto (valor fora dos enums do CRD, campo obrigatório ausente), `,_jsx(_components.code,{children:`403`}),` quando o operator não tem permissão para criá-lo e `,_jsx(_components.code,{children:`500`}),` nos demais casos.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Criar Runbook","openapi":"POST /runbooks","description":"Cria um novo recurso Runbook","icon":"plus","href":"/pt/reference/api/create-runbook"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,ParamField,RequestExample,ResponseExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);return _jsxs(_Fragment,{children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsxs(_components.p,{children:[`Nome do runbook (um nome de recurso do Kubernetes, ex.: `,_jsx(_components.code,{children:`disk-cleanup`}),`)`]})}),`\n`,_jsx(ParamField,{body:`namespace`,type:`string`,default:`default`,id:`param-namespace`,children:_jsx(_components.p,{children:`Namespace onde o runbook será criado`})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Objetivo do runbook`})}),`\n`,_jsxs(ParamField,{body:`trigger`,type:`object`,required:true,id:`param-trigger`,children:[_jsx(_components.p,{children:`Quando o runbook se aplica. Os três campos são obrigatórios no CRD.`}),_jsxs(Expandable,{title:`Propriedades do trigger`,children:[_jsx(ParamField,{body:`signalType`,type:`string`,required:true,id:`param-signal-type`,children:_jsxs(_components.p,{children:[`Sinal da anomalia, ex.: `,_jsx(_components.code,{children:`oom_kill`}),`, `,_jsx(_components.code,{children:`crashloop_backoff`}),`, `,_jsx(_components.code,{children:`error_rate`}),`, `,_jsx(_components.code,{children:`latency`}),`, `,_jsx(_components.code,{children:`pod_restart`}),`, `,_jsx(_components.code,{children:`cpu_high`}),`, `,_jsx(_components.code,{children:`memory_high`}),`, `,_jsx(_components.code,{children:`disk_pressure`}),`, `,_jsx(_components.code,{children:`image_pull_error`}),` (lista completa no enum do CRD Anomaly)`]})}),_jsx(ParamField,{body:`severity`,type:`string`,required:true,id:`param-severity`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`critical`}),`, `,_jsx(_components.code,{children:`high`}),`, `,_jsx(_components.code,{children:`medium`}),` ou `,_jsx(_components.code,{children:`low`})]})}),_jsx(ParamField,{body:`resourceKind`,type:`string`,required:true,id:`param-resource-kind`,children:_jsxs(_components.p,{children:[`Kind do recurso afetado, ex.: `,_jsx(_components.code,{children:`Deployment`}),`, `,_jsx(_components.code,{children:`StatefulSet`}),`, `,_jsx(_components.code,{children:`DaemonSet`}),`, `,_jsx(_components.code,{children:`Job`}),`, `,_jsx(_components.code,{children:`CronJob`})]})})]})]}),`\n`,_jsxs(ParamField,{body:`steps`,type:`object[]`,required:true,id:`param-steps`,children:[_jsx(_components.p,{children:`Passos em ordem`}),_jsxs(Expandable,{title:`Propriedades do passo`,children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`Nome do passo`})}),_jsx(ParamField,{body:`action`,type:`string`,required:true,id:`param-action`,children:_jsxs(_components.p,{children:[`Tipo de ação de remediação, ex.: `,_jsx(_components.code,{children:`AdjustResources`}),`, `,_jsx(_components.code,{children:`RestartDeployment`}),`, `,_jsx(_components.code,{children:`ScaleDeployment`}),`, `,_jsx(_components.code,{children:`RollbackDeployment`}),`, `,_jsx(_components.code,{children:`ExecDiagnostic`})]})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`Por que o passo é necessário e o que ele faz`})}),_jsx(ParamField,{body:`params`,type:`object`,id:`param-params`,children:_jsxs(_components.p,{children:[`Parâmetros chave/valor (strings) da ação (ex.: `,_jsx(_components.code,{children:`{\"memory_limit\": \"1Gi\"}`}),`, `,_jsx(_components.code,{children:`{\"replicas\": \"5\"}`}),`)`]})})]})]}),`\n`,_jsx(ParamField,{body:`maxAttempts`,type:`integer`,default:`3`,id:`param-max-attempts`,children:_jsx(_components.p,{children:`Número máximo de tentativas de remediação; 0 ou omitido significa 3`})}),`\n`,_jsx(ParamField,{body:`labels`,type:`object`,id:`param-labels`,children:_jsx(_components.p,{children:`Labels do Kubernetes para o Runbook`})}),`\n`,_jsxs(_components.p,{children:[`A resposta é `,_jsx(_components.code,{children:`201 Created`}),`, com o runbook em `,_jsx(_components.code,{children:`spec`}),` e os metadados em `,_jsx(_components.code,{children:`resourceMeta`}),`. `,_jsx(_components.code,{children:`name`}),` ausente ou JSON malformado retornam `,_jsx(_components.code,{children:`400`}),`; uma falha da API do Kubernetes retorna a mensagem do API server com o status correspondente: `,_jsx(_components.code,{children:`409`}),` só quando já existe um runbook com esse nome, `,_jsx(_components.code,{children:`422`}),` quando o API server rejeita o objeto (valor fora dos enums do CRD, campo obrigatório ausente), `,_jsx(_components.code,{children:`403`}),` quando o operator não tem permissão para criá-lo e `,_jsx(_components.code,{children:`500`}),` nos demais casos.`]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`runbook.json`,numberOfLines:`28`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`28`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"disk-cleanup\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"namespace\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"production\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Free disk space when a StatefulSet reports disk pressure\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"trigger\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"signalType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"disk_pressure\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"severity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"medium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resourceKind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"StatefulSet\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"steps\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"diagnose\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ExecDiagnostic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Check filesystem usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"command\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"df -h\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"restart-pod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"RestartStatefulSetPod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Restart the affected pod\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"labels\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"team\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"storage\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`curl`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @runbook.json`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:8090/api/v1/runbooks`})]}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response 201`,numberOfLines:`40`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`40`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"v1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Runbook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"spec\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"disk-cleanup\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"namespace\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"production\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Free disk space when a StatefulSet reports disk pressure\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"trigger\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"signalType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"disk_pressure\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"severity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"medium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resourceKind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"StatefulSet\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"steps\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"diagnose\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ExecDiagnostic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Check filesystem usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"command\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"df -h\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"restart-pod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"RestartStatefulSetPod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Restart the affected pod\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxAttempts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"creationTimestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03-19T16:00:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resourceMeta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"disk-cleanup\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"namespace\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"production\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"uid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"7d8e9f0a-1b2c-4d3e-9f4a-5b6c7d8e9f0a\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"creationTimestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03-19T16:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"labels\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"team\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"storage\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response 400`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"v1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bad Request\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"name is required\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response 409`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"v1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Conflict\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`409`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed to create runbook: runbooks.platform.chatcli.io `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`disk-cleanup`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` already exists\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Criar Runbook","openapi":"POST /runbooks","description":"Cria um novo recurso Runbook","icon":"plus","href":"/pt/reference/api/create-runbook"}}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"runbook.json","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"28\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"disk-cleanup\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"namespace\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"production\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Free disk space when a StatefulSet reports disk pressure\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"trigger\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"signalType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"disk_pressure\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"severity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"medium\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"resourceKind\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"StatefulSet\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"steps\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"diagnose\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ExecDiagnostic\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Check filesystem usage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"params\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"command\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"df -h\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"restart-pod\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"RestartStatefulSetPod\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Restart the affected pod\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"labels\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"team\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"storage\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"curl","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"2\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"X-API-Key: \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> @runbook.json\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> http://localhost:8090/api/v1/runbooks\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response 201","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"40\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"apiVersion\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"v1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"kind\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Runbook\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"spec\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"disk-cleanup\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"namespace\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"production\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Free disk space when a StatefulSet reports disk pressure\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"trigger\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"signalType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"disk_pressure\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"severity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"medium\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"resourceKind\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"StatefulSet\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"steps\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"diagnose\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ExecDiagnostic\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Check filesystem usage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"params\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"command\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"df -h\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"restart-pod\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"RestartStatefulSetPod\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Restart the affected pod\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"maxAttempts\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">3\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"creationTimestamp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-03-19T16:00:00Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"resourceMeta\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"disk-cleanup\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"namespace\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"production\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"uid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"7d8e9f0a-1b2c-4d3e-9f4a-5b6c7d8e9f0a\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"creationTimestamp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-03-19T16:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"labels\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"team\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"storage\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/_mintlify/custom/encom/03414b2589eb02b8/flags.js","/_mintlify/custom/encom/f19b212850d023b6/sidebar-focus.js"],"openApiReferenceData":{"operation":{"operationId":"createRunbook","summary":"Create Runbook","description":"Cria um novo recurso Runbook","tags":["Runbooks"],"requestBody":"402e166d-36da-4cdf-9886-2797ee187bd2","responses":{"201":"dcc9abd5-3802-4d1a-ad5c-5e86027d9424","400":"9cf37bad-55df-4198-90b7-70937dbebd53","401":"073df242-1ea5-4ca2-84df-1b628d26c165","403":"4d954bab-541e-47aa-99c2-956227b85054","409":"5a6e8ef6-8c9b-4130-ae56-510ab79d3937","422":"015845f5-3fdd-4b68-af09-988adcfb53a3","429":"0abcdd99-4e1f-458d-97f7-9265f04ae09e","500":"f33ea65c-b6bf-440a-be8f-8953e9029525"},"method":"post","type":"path","servers":["09eb4e2d-338a-4f81-81f5-3cb4f4a678f8"],"security":["54858e57-480a-428b-bf90-e790a2cab6cc"],"path":"/runbooks","baseUrlOptions":["{scheme}://{host}:{port}/{basePath}"],"title":"Create Runbook","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"28","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"name\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"disk-cleanup\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"namespace\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"production\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"description\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Free disk space when a StatefulSet reports disk pressure\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"trigger\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"signalType\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"disk_pressure\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"severity\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"medium\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"resourceKind\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"StatefulSet\""}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"steps\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": ["}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"name\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"diagnose\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"action\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"ExecDiagnostic\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"description\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Check filesystem usage\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"params\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"command\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"df -h\""}}]}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"36","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"38","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"name\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"restart-pod\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"40","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"action\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"RestartStatefulSetPod\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"42","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"description\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Restart the affected pod\""}}]}},"\n",{"type":"span","key":"44","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"46","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ],"}}}},"\n",{"type":"span","key":"48","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"labels\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"50","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"team\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"storage\""}}]}},"\n",{"type":"span","key":"52","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"54","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"runbook.json"},{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"2","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -X"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" POST"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"X-API-Key: "}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"$KEY"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\""}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"Content-Type: application/json\""}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -d"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" @runbook.json"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" http://localhost:8090/api/v1/runbooks"}}]}},"\n"]}}}},"filename":"curl"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"40","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"apiVersion\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"v1\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"kind\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Runbook\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"spec\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"name\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"disk-cleanup\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"namespace\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"production\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"description\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Free disk space when a StatefulSet reports disk pressure\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"trigger\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"signalType\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"disk_pressure\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"severity\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"medium\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"resourceKind\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"StatefulSet\""}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"steps\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": ["}}]}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"name\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"diagnose\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"action\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"ExecDiagnostic\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"description\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Check filesystem usage\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"params\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"36","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"command\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"df -h\""}}]}},"\n",{"type":"span","key":"38","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"40","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"42","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"44","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"name\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"restart-pod\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"46","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"action\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"RestartStatefulSetPod\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"48","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"description\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Restart the affected pod\""}}]}},"\n",{"type":"span","key":"50","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"52","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ],"}}}},"\n",{"type":"span","key":"54","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"maxAttempts\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"3"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"56","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"creationTimestamp\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-03-19T16:00:00Z\""}}]}},"\n",{"type":"span","key":"58","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"60","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"resourceMeta\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"62","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"name\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"disk-cleanup\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"64","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"namespace\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"production\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"66","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"uid\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"7d8e9f0a-1b2c-4d3e-9f4a-5b6c7d8e9f0a\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"68","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"creationTimestamp\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-03-19T16:00:00Z\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"70","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"labels\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"72","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"team\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"storage\""}}]}},"\n",{"type":"span","key":"74","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"76","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"78","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"Response 201"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Required on create; ignored on update.","example":"oom-standard","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"namespace":{"type":"string","default":"default","description":"Create only; ignored on update.","uniqueKey":"namespace","typeLabel":"string"},"description":{"type":"string","uniqueKey":"description","typeLabel":"string"},"trigger":{"type":"object","properties":{"signalType":{"type":"string","example":"oom_kill","uniqueKey":"trigger.signalType","typeLabel":"string"},"severity":{"type":"string","enum":["critical","high","medium","low"],"uniqueKey":"trigger.severity","typeLabel":"enum\u003cstring>"},"resourceKind":{"type":"string","example":"Deployment","uniqueKey":"trigger.resourceKind","typeLabel":"string"}},"uniqueKey":"trigger","typeLabel":"object"},"steps":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"steps.items.[INDEX].name","typeLabel":"string"},"action":{"type":"string","description":"Remediation action type (e.g. `RestartDeployment`, `ScaleDeployment`, `AdjustResources`).","example":"RestartDeployment","uniqueKey":"steps.items.[INDEX].action","typeLabel":"string"},"description":{"type":"string","uniqueKey":"steps.items.[INDEX].description","typeLabel":"string"},"params":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"steps.items.[INDEX].params.additionalProperties","typeLabel":"string"},"uniqueKey":"steps.items.[INDEX].params","typeLabel":"object"}},"uniqueKey":"steps.items.[INDEX]","typeLabel":"object"},"uniqueKey":"steps","typeLabel":"object[]"},"maxAttempts":{"type":"integer","description":"Defaults to 3 on create; on update only values > 0 are applied.","uniqueKey":"maxAttempts","typeLabel":"integer"},"labels":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"labels.additionalProperties","typeLabel":"string"},"uniqueKey":"labels","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"name":"oom-standard","namespace":"production","description":"Raise memory limits after an OOMKill, then restart.","trigger":{"signalType":"oom_kill","severity":"high","resourceKind":"Deployment"},"steps":[{"name":"raise-memory","action":"AdjustResources","description":"Increase the memory limit","params":{"memory_limit":"1Gi"}},{"name":"restart","action":"RestartDeployment","description":"Roll the pods"}],"maxAttempts":2,"labels":{"team":"payments"}},"examples":{"Example":{"title":"Example","value":{"name":"oom-standard","namespace":"production","description":"Raise memory limits after an OOMKill, then restart.","trigger":{"signalType":"oom_kill","severity":"high","resourceKind":"Deployment"},"steps":[{"name":"raise-memory","action":"AdjustResources","description":"Increase the memory limit","params":{"memory_limit":"1Gi"}},{"name":"restart","action":"RestartDeployment","description":"Roll the pods"}],"maxAttempts":2,"labels":{"team":"payments"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"dcc9abd5-3802-4d1a-ad5c-5e86027d9424":{"description":"Runbook created","content":{"application/json":{"schema":{"type":"object","properties":{"apiVersion":{"type":"string","example":"v1","uniqueKey":"apiVersion","typeLabel":"string"},"kind":{"type":"string","example":"Runbook","uniqueKey":"kind","typeLabel":"string"},"spec":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"spec.name","typeLabel":"string"},"namespace":{"type":"string","uniqueKey":"spec.namespace","typeLabel":"string"},"description":{"type":"string","uniqueKey":"spec.description","typeLabel":"string"},"trigger":{"type":"object","properties":{"signalType":{"type":"string","example":"oom_kill","uniqueKey":"spec.trigger.signalType","typeLabel":"string"},"severity":{"type":"string","enum":["critical","high","medium","low"],"uniqueKey":"spec.trigger.severity","typeLabel":"enum\u003cstring>"},"resourceKind":{"type":"string","example":"Deployment","uniqueKey":"spec.trigger.resourceKind","typeLabel":"string"}},"uniqueKey":"spec.trigger","typeLabel":"object"},"steps":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"spec.steps.items.[INDEX].name","typeLabel":"string"},"action":{"type":"string","description":"Remediation action type (e.g. `RestartDeployment`, `ScaleDeployment`, `AdjustResources`).","example":"RestartDeployment","uniqueKey":"spec.steps.items.[INDEX].action","typeLabel":"string"},"description":{"type":"string","uniqueKey":"spec.steps.items.[INDEX].description","typeLabel":"string"},"params":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"spec.steps.items.[INDEX].params.additionalProperties","typeLabel":"string"},"uniqueKey":"spec.steps.items.[INDEX].params","typeLabel":"object"}},"uniqueKey":"spec.steps.items.[INDEX]","typeLabel":"object"},"uniqueKey":"spec.steps","typeLabel":"object[]"},"maxAttempts":{"type":"integer","uniqueKey":"spec.maxAttempts","typeLabel":"integer"},"creationTimestamp":{"type":"string","format":"date-time","uniqueKey":"spec.creationTimestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"spec","typeLabel":"object"},"resourceMeta":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"resourceMeta.name","typeLabel":"string"},"namespace":{"type":"string","uniqueKey":"resourceMeta.namespace","typeLabel":"string"},"uid":{"type":"string","uniqueKey":"resourceMeta.uid","typeLabel":"string"},"creationTimestamp":{"type":"string","format":"date-time","uniqueKey":"resourceMeta.creationTimestamp","typeLabel":"string\u003cdate-time>"},"labels":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"resourceMeta.labels.additionalProperties","typeLabel":"string"},"uniqueKey":"resourceMeta.labels","typeLabel":"object"},"annotations":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"resourceMeta.annotations.additionalProperties","typeLabel":"string"},"uniqueKey":"resourceMeta.annotations","typeLabel":"object"}},"uniqueKey":"resourceMeta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"apiVersion":"v1","kind":"Runbook","spec":{"name":"\u003cstring>","namespace":"\u003cstring>","description":"\u003cstring>","trigger":{"signalType":"oom_kill","severity":"critical","resourceKind":"Deployment"},"steps":[{"name":"\u003cstring>","action":"RestartDeployment","description":"\u003cstring>","params":{}}],"maxAttempts":123,"creationTimestamp":"2023-11-07T05:31:56Z"},"resourceMeta":{"name":"\u003cstring>","namespace":"\u003cstring>","uid":"\u003cstring>","creationTimestamp":"2023-11-07T05:31:56Z","labels":{},"annotations":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"9cf37bad-55df-4198-90b7-70937dbebd53":{"description":"Invalid JSON body or failed field validation","content":{"application/json":{"schema":{"type":"object","required":["apiVersion","kind","error","code","message"],"properties":{"apiVersion":{"type":"string","example":"v1","isRequired":true,"uniqueKey":"apiVersion","typeLabel":"string"},"kind":{"type":"string","example":"Error","isRequired":true,"uniqueKey":"kind","typeLabel":"string"},"error":{"type":"string","description":"HTTP status text.","example":"Not Found","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"integer","example":404,"isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"issue not found: issue \"payment-service-oom-1710860400\" not found in any namespace","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"apiVersion":"v1","kind":"Error","error":"Not Found","code":404,"message":"issue not found: issue \"payment-service-oom-1710860400\" not found in any namespace"}}},"exampleType":"generated"}},"exampleType":"generated"},"073df242-1ea5-4ca2-84df-1b628d26c165":{"description":"Missing or invalid `X-API-Key`, or no API keys configured (and dev mode off)","content":{"application/json":{"schema":{"type":"object","required":["apiVersion","kind","error","code","message"],"properties":{"apiVersion":{"type":"string","example":"v1","isRequired":true,"uniqueKey":"apiVersion","typeLabel":"string"},"kind":{"type":"string","example":"Error","isRequired":true,"uniqueKey":"kind","typeLabel":"string"},"error":{"type":"string","description":"HTTP status text.","example":"Not Found","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"integer","example":404,"isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"issue not found: issue \"payment-service-oom-1710860400\" not found in any namespace","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"apiVersion":"v1","kind":"Error","error":"Unauthorized","code":401,"message":"missing API key in X-API-Key header"},"examples":{"Example":{"title":"Example","value":{"apiVersion":"v1","kind":"Error","error":"Unauthorized","code":401,"message":"missing API key in X-API-Key header"}}},"exampleType":"examples"}},"exampleType":"examples"},"4d954bab-541e-47aa-99c2-956227b85054":{"description":"The key's role is below the operation's minimum role","content":{"application/json":{"schema":{"type":"object","required":["apiVersion","kind","error","code","message"],"properties":{"apiVersion":{"type":"string","example":"v1","isRequired":true,"uniqueKey":"apiVersion","typeLabel":"string"},"kind":{"type":"string","example":"Error","isRequired":true,"uniqueKey":"kind","typeLabel":"string"},"error":{"type":"string","description":"HTTP status text.","example":"Not Found","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"integer","example":404,"isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"issue not found: issue \"payment-service-oom-1710860400\" not found in any namespace","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"apiVersion":"v1","kind":"Error","error":"Forbidden","code":403,"message":"insufficient permissions"},"examples":{"Example":{"title":"Example","value":{"apiVersion":"v1","kind":"Error","error":"Forbidden","code":403,"message":"insufficient permissions"}}},"exampleType":"examples"}},"exampleType":"examples"},"5a6e8ef6-8c9b-4130-ae56-510ab79d3937":{"description":"Conflict with the current state of the object (already resolved, already exists, or modified concurrently — retry)","content":{"application/json":{"schema":{"type":"object","required":["apiVersion","kind","error","code","message"],"properties":{"apiVersion":{"type":"string","example":"v1","isRequired":true,"uniqueKey":"apiVersion","typeLabel":"string"},"kind":{"type":"string","example":"Error","isRequired":true,"uniqueKey":"kind","typeLabel":"string"},"error":{"type":"string","description":"HTTP status text.","example":"Not Found","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"integer","example":404,"isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"issue not found: issue \"payment-service-oom-1710860400\" not found in any namespace","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"apiVersion":"v1","kind":"Error","error":"Not Found","code":404,"message":"issue not found: issue \"payment-service-oom-1710860400\" not found in any namespace"}}},"exampleType":"generated"}},"exampleType":"generated"},"015845f5-3fdd-4b68-af09-988adcfb53a3":{"description":"The Kubernetes API server rejected the runbook (validation).","content":{"application/json":{"schema":{"type":"object","required":["apiVersion","kind","error","code","message"],"properties":{"apiVersion":{"type":"string","example":"v1","isRequired":true,"uniqueKey":"apiVersion","typeLabel":"string"},"kind":{"type":"string","example":"Error","isRequired":true,"uniqueKey":"kind","typeLabel":"string"},"error":{"type":"string","description":"HTTP status text.","example":"Not Found","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"integer","example":404,"isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"issue not found: issue \"payment-service-oom-1710860400\" not found in any namespace","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"apiVersion":"v1","kind":"Error","error":"Not Found","code":404,"message":"issue not found: issue \"payment-service-oom-1710860400\" not found in any namespace"}}},"exampleType":"generated"}},"exampleType":"generated"},"0abcdd99-4e1f-458d-97f7-9265f04ae09e":{"description":"More than 600 requests per minute with this API key, or more than 30 per minute from this client host without a valid key","headers":{"Retry-After":{"description":"Seconds until the bucket holds a token again (1 for the key limit, 2 for the host limit).","schema":{"type":"integer","example":1}}},"content":{"application/json":{"schema":{"type":"object","required":["apiVersion","kind","error","code","message"],"properties":{"apiVersion":{"type":"string","example":"v1","isRequired":true,"uniqueKey":"apiVersion","typeLabel":"string"},"kind":{"type":"string","example":"Error","isRequired":true,"uniqueKey":"kind","typeLabel":"string"},"error":{"type":"string","description":"HTTP status text.","example":"Not Found","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"integer","example":404,"isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"issue not found: issue \"payment-service-oom-1710860400\" not found in any namespace","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"apiVersion":"v1","kind":"Error","error":"Not Found","code":404,"message":"issue not found: issue \"payment-service-oom-1710860400\" not found in any namespace"}}},"exampleType":"generated"}},"exampleType":"generated"},"f33ea65c-b6bf-440a-be8f-8953e9029525":{"description":"Kubernetes API call failed","content":{"application/json":{"schema":{"type":"object","required":["apiVersion","kind","error","code","message"],"properties":{"apiVersion":{"type":"string","example":"v1","isRequired":true,"uniqueKey":"apiVersion","typeLabel":"string"},"kind":{"type":"string","example":"Error","isRequired":true,"uniqueKey":"kind","typeLabel":"string"},"error":{"type":"string","description":"HTTP status text.","example":"Not Found","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"integer","example":404,"isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"issue not found: issue \"payment-service-oom-1710860400\" not found in any namespace","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"apiVersion":"v1","kind":"Error","error":"Not Found","code":404,"message":"issue not found: issue \"payment-service-oom-1710860400\" not found in any namespace"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"54858e57-480a-428b-bf90-e790a2cab6cc":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"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` \u003c `operator` \u003c `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).","scopes":[]}}},"servers":{"09eb4e2d-338a-4f81-81f5-3cb4f4a678f8":{"url":"{scheme}://{host}:{port}/{basePath}","description":"Self-hosted ChatCLI operator — adjust scheme, host, port and basePath to match your deployment.","variables":{"scheme":{"default":"http","enum":["http","https"],"description":"`https` when the operator runs with CHATCLI_AIOPS_TLS_CERT / CHATCLI_AIOPS_TLS_KEY."},"host":{"default":"localhost","description":"Host of the operator API. In-cluster: the Service `chatcli-operator` in the operator namespace (e.g. `chatcli-operator.chatcli-system.svc`). From a workstation: `localhost` with `kubectl port-forward svc/chatcli-operator 8090:8090`, or your Ingress host."},"port":{"default":"8090","description":"API/dashboard port. Default 8090; Helm value `api.port`, env var `CHATCLI_AIOPS_PORT`."},"basePath":{"default":"api/v1","description":"API base path. Always `api/v1` unless a proxy rewrites it."}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"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` \u003c `operator` \u003c `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).","scopes":[]},"schema":{"title":"X-API-Key","type":"string","description":"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` \u003c `operator` \u003c `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).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"encom","siteName":"ChatCLI","title":"Criar Runbook - ChatCLI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/reference/api/create-runbook","matchLevel":1},"pt-BR":{"href":"/pt/reference/api/create-runbook","matchLevel":0}}},"lastModified":"2026-09-28T18:34:30.179Z","originalFileLocation":"pt/reference/api/create-runbook.mdx","locale":"pt-BR"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Cria um novo recurso Runbook\">\u003cmeta data-mint-head name=\"application-name\" content=\"ChatCLI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/encom/ilreks3OQttPbvib/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/encom/ilreks3OQttPbvib/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/encom/ilreks3OQttPbvib/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/encom/ilreks3OQttPbvib/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/encom/ilreks3OQttPbvib/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/encom/ilreks3OQttPbvib/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/encom/ilreks3OQttPbvib/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/encom/ilreks3OQttPbvib/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/encom/ilreks3OQttPbvib/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Criar Runbook - ChatCLI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Cria um novo recurso Runbook\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ChatCLI Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://chatcli.edilsonfreitas.com/pt/reference/api/create-runbook\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://encom.mintlify.site/_mintlify/api/og/v2?division=Runbooks\u0026amp;title=Criar+Runbook\u0026amp;description=Cria+um+novo+recurso+Runbook\u0026amp;theme=249ebac7523b8d2943a70ab3\u0026amp;signature=00c2afe57ad1d0d57b81b12f87b5a0aebc36651ce6e91550a71df57dc7535cfe\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Criar Runbook - ChatCLI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Cria um novo recurso Runbook\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://encom.mintlify.site/_mintlify/api/og/v2?division=Runbooks\u0026amp;title=Criar+Runbook\u0026amp;description=Cria+um+novo+recurso+Runbook\u0026amp;theme=249ebac7523b8d2943a70ab3\u0026amp;signature=00c2afe57ad1d0d57b81b12f87b5a0aebc36651ce6e91550a71df57dc7535cfe\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/encom/ilreks3OQttPbvib/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ChatCLI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F766E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://chatcli.edilsonfreitas.com/pt/reference/api/create-runbook\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pt/reference/api/create-runbook.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://chatcli.edilsonfreitas.com/pt/reference/api/create-runbook\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://chatcli.edilsonfreitas.com/reference/api/create-runbook\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://chatcli.edilsonfreitas.com/reference/api/create-runbook\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://chatcli.edilsonfreitas.com/#organization\",\"name\":\"ChatCLI\",\"url\":\"https://chatcli.edilsonfreitas.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/encom/Rcdb5Pr5hpjwN46r/images/logo-light.svg?fit=max\u0026auto=format\u0026n=Rcdb5Pr5hpjwN46r\u0026q=85\u0026s=965a0feb9bd2f65a11b3c486e2488101\"}},{\"@type\":\"WebSite\",\"@id\":\"https://chatcli.edilsonfreitas.com#website\",\"name\":\"ChatCLI\",\"url\":\"https://chatcli.edilsonfreitas.com\",\"publisher\":{\"@id\":\"https://chatcli.edilsonfreitas.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://chatcli.edilsonfreitas.com/pt/reference/api/create-runbook#webpage\",\"url\":\"https://chatcli.edilsonfreitas.com/pt/reference/api/create-runbook\",\"name\":\"Criar Runbook\",\"description\":\"Cria um novo recurso Runbook\",\"dateModified\":\"2026-09-28T18:34:30.179Z\",\"isPartOf\":{\"@id\":\"https://chatcli.edilsonfreitas.com#website\"},\"breadcrumb\":{\"@id\":\"https://chatcli.edilsonfreitas.com/pt/reference/api/create-runbook#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://chatcli.edilsonfreitas.com/pt/reference/api/create-runbook#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Documentação\",\"item\":\"https://chatcli.edilsonfreitas.com/pt/usage/basic-usage\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Referência\",\"item\":\"https://chatcli.edilsonfreitas.com/pt/reference/command-reference\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"REST API\",\"item\":\"https://chatcli.edilsonfreitas.com/pt/reference/api/overview\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Runbooks\",\"item\":\"https://chatcli.edilsonfreitas.com/pt/reference/api/list-runbooks\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Criar Runbook\",\"item\":\"https://chatcli.edilsonfreitas.com/pt/reference/api/create-runbook\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://chatcli.edilsonfreitas.com/pt/reference/api/create-runbook#apireference\",\"headline\":\"Criar Runbook\",\"name\":\"Criar Runbook\",\"description\":\"Cria um novo recurso Runbook\",\"url\":\"https://chatcli.edilsonfreitas.com/pt/reference/api/create-runbook\",\"mainEntityOfPage\":{\"@id\":\"https://chatcli.edilsonfreitas.com/pt/reference/api/create-runbook#webpage\"},\"dateModified\":\"2026-09-28T18:34:30.179Z\",\"publisher\":{\"@id\":\"https://chatcli.edilsonfreitas.com/#organization\"},\"isPartOf\":{\"@id\":\"https://chatcli.edilsonfreitas.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ChatCLI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ChatCLI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/pt/reference/api/create-runbook.md","siteName":"ChatCLI","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/reference/api/create-runbook"}]},{"language":"pt-BR","footer":{"socials":{"github":"https://github.com/diillson/chatcli","x":"https://x.com/diillson"},"links":[{"header":"Recursos","items":[{"label":"Documentação","href":"/pt"},{"label":"Cookbook","href":"/pt/cookbook/agent-refactoring"},{"label":"API Reference","href":"/pt/reference/api/overview"}]},{"header":"Comunidade","items":[{"label":"GitHub","href":"https://github.com/diillson/chatcli"},{"label":"Issues","href":"https://github.com/diillson/chatcli/issues"},{"label":"Discussions","href":"https://github.com/diillson/chatcli/discussions"},{"label":"Releases","href":"https://github.com/diillson/chatcli/releases"}]},{"header":"Distribuição","items":[{"label":"ArtifactHub","href":"https://artifacthub.io/packages/search?ts_query_web=chatcli"},{"label":"Helm Charts","href":"https://artifacthub.io/packages/helm/chatcli/chatcli"},{"label":"Container Registry","href":"https://github.com/diillson/chatcli/pkgs/container/chatcli"}]}]},"navbar":{"links":[{"href":"/pt/cookbook/agent-refactoring","label":"Cookbook"},{"href":"/pt/releases","label":"Releases"},{"href":"https://github.com/diillson/chatcli","type":"github"}],"primary":{"type":"button","label":"Instalar","href":"/pt/start/installation"}},"groups":[{"group":"Comece aqui","pages":[{"title":"ChatCLI","sidebarTitle":"Visão geral","icon":"house","mode":"wide","href":"/pt"},{"title":"Início rápido","icon":"rocket","href":"/pt/start/quickstart"},{"title":"Instalação e Configuração","sidebarTitle":"Instalação","icon":"download","href":"/pt/start/installation"},{"title":"Deploy com Docker e Kubernetes","sidebarTitle":"Docker \u0026 Kubernetes","icon":"docker","href":"/pt/start/docker-deployment"},{"title":"Auto-Update","sidebarTitle":"Auto-Update","icon":"arrows-rotate","href":"/pt/start/auto-update"},{"title":"Migração de Configuração","sidebarTitle":"Migração de Config","icon":"arrows-rotate","href":"/pt/start/config-migration"}]},{"group":"Documentação","pages":[{"group":"Usando o ChatCLI","icon":"terminal","pages":[{"title":"Uso Básico e Comandos Principais","sidebarTitle":"Uso Básico","icon":"terminal","href":"/pt/usage/basic-usage"},{"title":"Adicionando Contexto (@ Comandos)","sidebarTitle":"Comandos de Contexto","icon":"at","href":"/pt/usage/context-commands"},{"title":"Modo Agente: Execução de Tarefas","sidebarTitle":"Modo Agente (/agent)","icon":"robot","href":"/pt/usage/agent-mode"},{"title":"Modo Coder (/coder)","sidebarTitle":"Modo Coder (/coder)","icon":"code","href":"/pt/usage/coder-mode"},{"title":"Modo Não-Interativo (One-Shot)","sidebarTitle":"Modo One-Shot","icon":"terminal","href":"/pt/usage/non-interactive-mode"},{"title":"Controle de Conversa","sidebarTitle":"Controle de Conversa","icon":"clock-rotate-left","href":"/pt/usage/conversation-control"},{"title":"Entrada Multilinha","sidebarTitle":"Entrada Multilinha","icon":"bars-staggered","href":"/pt/usage/multiline-input"},{"title":"Streaming em Tempo Real","sidebarTitle":"Streaming","icon":"bolt","href":"/pt/usage/streaming"},{"title":"Entrada de Imagem (Visão)","sidebarTitle":"Entrada de Imagem (Visão)","icon":"eye","href":"/pt/usage/vision-input"},{"title":"Entrada de PDF","sidebarTitle":"Entrada de PDF","icon":"file-pdf","href":"/pt/usage/pdf-input"},{"title":"Web UI","sidebarTitle":"Web UI","icon":"browser","href":"/pt/usage/web-ui"},{"title":"Dash ao Vivo","sidebarTitle":"Dash ao Vivo","icon":"chart-network","href":"/pt/usage/live-dashboard"},{"title":"UI Compacta (Modo Compact)","sidebarTitle":"UI Compacta","icon":"minimize","href":"/pt/usage/compact-ui"},{"title":"Sistema de Tema (Cores)","sidebarTitle":"Sistema de Tema","icon":"palette","href":"/pt/usage/ui-theme"},{"title":"Internacionalização (i18n)","sidebarTitle":"Internacionalização","icon":"language","href":"/pt/usage/i18n"}]},{"group":"Coder","icon":"code","pages":[{"title":"Plugin @coder","sidebarTitle":"Plugin @coder","icon":"hammer","href":"/pt/coder/coder-plugin"},{"title":"Tools Atômicos (@read, @search, @tree, @todo)","sidebarTitle":"Tools Atômicos","icon":"wand-magic-sparkles","href":"/pt/coder/atomic-tools"},{"title":"Segurança do Modo Coder (Governanca)","sidebarTitle":"Segurança do Modo Coder (Governanca)","icon":"shield-halved","href":"/pt/coder/coder-security"},{"title":"Sistema de Permissoes Avancado","sidebarTitle":"Permissoes","icon":"shield-halved","href":"/pt/coder/enhanced-permissions"},{"title":"Git Worktrees","sidebarTitle":"Git Worktrees","icon":"code-branch","href":"/pt/coder/worktrees"},{"title":"Detecção de Staleness de Arquivos","sidebarTitle":"File Staleness","icon":"eye","href":"/pt/coder/file-staleness"},{"title":"Recuperação de JSON","sidebarTitle":"Recuperação de JSON","icon":"screwdriver-wrench","href":"/pt/coder/json-recovery"},{"title":"Diagnósticos LSP","sidebarTitle":"Diagnósticos LSP","icon":"stethoscope","href":"/pt/coder/lsp-diagnostics"},{"title":"Perguntas Interativas (ask_user)","sidebarTitle":"Perguntas Interativas","icon":"list-check","href":"/pt/coder/interactive-ask"},{"title":"Progresso Live dos Agents","sidebarTitle":"Progresso Live","icon":"chart-bar","href":"/pt/coder/agent-progress-ui"}]},{"group":"Agentes","icon":"robot","pages":[{"title":"Tool Use Nativo (API Estruturada)","sidebarTitle":"Tool Use Nativo","icon":"wrench","href":"/pt/agents/native-tool-use"},{"title":"IA Agentiva e Sistema de Plugins","sidebarTitle":"IA Agentiva e Plugins","icon":"puzzle-piece","href":"/pt/agents/agentic-plugins"},{"title":"Agentes Customizáveis (Personas)","sidebarTitle":"Agentes Customizáveis","icon":"user-gear","href":"/pt/agents/customizable-agents"},{"title":"Orquestração Multi-Agent","sidebarTitle":"Multi-Agent","icon":"users","href":"/pt/agents/multi-agent-orchestration"},{"title":"Agent Squad","sidebarTitle":"Agent Squad","icon":"people-group","href":"/pt/agents/agent-squad"},{"title":"Task Graph","sidebarTitle":"Task Graph","icon":"diagram-project","href":"/pt/agents/task-graph"},{"title":"Delegação para Subagent","sidebarTitle":"Subagent Delegate","icon":"diagram-project","href":"/pt/agents/subagent-delegation"},{"title":"Mixture-of-Agents (MoA)","sidebarTitle":"Mixture-of-Agents","icon":"layer-group","href":"/pt/agents/mixture-of-agents"},{"title":"Roteamento de Modelo (@model)","sidebarTitle":"Roteamento de Modelo","icon":"shuffle","href":"/pt/agents/model-routing"},{"title":"Agent Park \u0026 Resume — Suspensão não-bloqueante","sidebarTitle":"Park \u0026 Resume","icon":"circle-pause","href":"/pt/agents/agent-park"},{"group":"Harness (7 padrões + evals)","icon":"wand-magic-sparkles","pages":[{"title":"Harness/Pipeline de Qualidade do Agente","sidebarTitle":"Visão Geral","icon":"sparkles","href":"/pt/agents/harness/overview"},{"title":"#1 ReAct — Reason + Act","sidebarTitle":"ReAct","icon":"rotate","href":"/pt/agents/harness/react"},{"title":"#2 Plan-and-Solve / ReWOO","sidebarTitle":"Plan-and-Solve","icon":"list-check","href":"/pt/agents/harness/plan-and-solve"},{"title":"#3 Reflexion — Aprender com Falhas","sidebarTitle":"Reflexion","icon":"lightbulb","href":"/pt/agents/harness/reflexion"},{"title":"#4 RAG + HyDE — Retrieval Semântico","sidebarTitle":"RAG + HyDE","icon":"database","href":"/pt/agents/harness/rag-hyde"},{"title":"#5 Self-Refine — Crítica e Reescrita","sidebarTitle":"Self-Refine","icon":"wand-magic-sparkles","href":"/pt/agents/harness/self-refine"},{"title":"#6 Chain-of-Verification (CoVe)","sidebarTitle":"CoVe","icon":"check-double","href":"/pt/agents/harness/cove"},{"title":"#7 Reasoning Backbone Cross-Provider","sidebarTitle":"Reasoning Backbone","icon":"brain-circuit","href":"/pt/agents/harness/reasoning-backbone"},{"title":"Configuração — Env, Slashes e /config","sidebarTitle":"Configuração","icon":"sliders","href":"/pt/agents/harness/configuration"},{"title":"Evals: medindo o ChatCLI","sidebarTitle":"Evals","icon":"flask","href":"/pt/agents/harness/evals"}]}]},{"group":"Contexto e memória","icon":"layer-group","pages":[{"title":"LongMemEval: o quanto o chatcli lembra","sidebarTitle":"Resultados no LongMemEval","icon":"chart-simple","href":"/pt/context/longmemeval"},{"title":"Gerenciamento de Contexto Persistente","sidebarTitle":"Contextos (/context)","icon":"database","href":"/pt/context/persistent-context"},{"title":"Knowledge Base (RAG keyless)","sidebarTitle":"Knowledge Base","icon":"book-open","href":"/pt/context/knowledge-base"},{"title":"Bootstrap e Memória Persistente","sidebarTitle":"Bootstrap e Memória","icon":"memory","href":"/pt/context/bootstrap-memory"},{"title":"Grafo de Conhecimento e Vault do Obsidian","sidebarTitle":"Grafo de Conhecimento","icon":"diagram-project","href":"/pt/context/knowledge-graph"},{"title":"Path-Specific Rules","sidebarTitle":"Path Rules","icon":"folder-tree","href":"/pt/context/path-rules"},{"title":"Filtragem com .chatignore","sidebarTitle":".chatignore","icon":"filter","href":"/pt/context/chatignore"},{"group":"Sessões","icon":"clock-rotate-left","pages":[{"title":"Gerenciamento de Sessões","sidebarTitle":"Sessões","icon":"clock-rotate-left","href":"/pt/context/session-management"},{"title":"Busca em Conversas (@session)","sidebarTitle":"Busca em Conversas","icon":"magnifying-glass","href":"/pt/context/session-search"},{"title":"Workspace de Sessão (Scratch Dir)","sidebarTitle":"Session Workspace","icon":"folder-tree","href":"/pt/context/session-workspace"},{"title":"Exportação de Trajetória (ShareGPT)","sidebarTitle":"Exportar Trajetória","icon":"file-export","href":"/pt/context/trajectory-export"}]},{"group":"Eficiência de tokens","icon":"gauge-high","pages":[{"title":"Eficiência de Tokens","sidebarTitle":"Eficiência de Tokens","icon":"gauge-high","href":"/pt/context/token-efficiency"},{"title":"Compressão de Contexto (CCR)","sidebarTitle":"Compressão de Contexto","icon":"file-zipper","href":"/pt/context/context-compression"},{"title":"Curadoria do Prefixo do Chat","sidebarTitle":"Curadoria de Prefixo","icon":"scissors","href":"/pt/context/prefix-curation"},{"title":"Gerenciamento de Resultados de Ferramentas","sidebarTitle":"Resultados de Tools","icon":"database","href":"/pt/context/tool-result-management"},{"title":"Recuperação de Contexto","sidebarTitle":"Recuperação de Contexto","icon":"life-ring","href":"/pt/context/context-recovery"}]}]},{"group":"Modelos e provedores","icon":"shuffle","pages":[{"title":"Modelos de IA Suportados","sidebarTitle":"Modelos Suportados","icon":"microchip","href":"/pt/providers/supported-models"},{"title":"Autenticação OAuth","sidebarTitle":"Autenticação OAuth","icon":"key","href":"/pt/providers/oauth-authentication"},{"title":"AWS Bedrock","sidebarTitle":"AWS Bedrock","icon":"aws","href":"/pt/providers/bedrock"},{"title":"Provider Devin — o Devin CLI local como transporte LLM","sidebarTitle":"Provider Devin","icon":"robot","href":"/pt/providers/devin-provider"},{"title":"Fallback de Provedores","sidebarTitle":"Fallback de Provedores","icon":"rotate","href":"/pt/providers/provider-fallback"},{"title":"Rate Limits — visibilidade dos limites do provider","sidebarTitle":"Rate Limits","icon":"gauge-high","href":"/pt/providers/rate-limits"},{"title":"Cost Tracking","sidebarTitle":"Cost Tracking","icon":"money-bill-trend-up","href":"/pt/providers/cost-tracking"}]},{"group":"Ferramentas","icon":"toolbox","pages":[{"title":"WebFetch \u0026 WebSearch","sidebarTitle":"Web Tools","icon":"globe","href":"/pt/tools/web-tools"},{"title":"Automação de Navegador (@browser)","sidebarTitle":"Automação de Navegador","icon":"chrome","href":"/pt/tools/browser-automation"},{"title":"API Explorer (@api-explorer)","sidebarTitle":"API Explorer","icon":"compass","href":"/pt/tools/api-explorer"},{"title":"Git Forge (@forge)","sidebarTitle":"Git Forge","icon":"code-pull-request","href":"/pt/tools/git-forge"},{"title":"Geração e Edição de Imagem (@image)","sidebarTitle":"Geração \u0026 Edição de Imagem","icon":"image","href":"/pt/tools/image-generation"},{"title":"Diagramas (@diagram)","sidebarTitle":"Diagramas","icon":"diagram-project","href":"/pt/tools/diagram"},{"title":"Grafo interativo (@graphview)","sidebarTitle":"Grafo interativo","icon":"circle-nodes","href":"/pt/tools/graphview"},{"title":"Tags de Imagens (@registry-tags)","sidebarTitle":"Registry Tags","icon":"tags","href":"/pt/tools/registry-tags"},{"title":"Dados estruturados e diffs (@json, @diff)","sidebarTitle":"JSON \u0026 Diff","icon":"brackets-curly","href":"/pt/tools/json-diff"},{"title":"Aritmética de calendário (@date)","sidebarTitle":"Datas","icon":"calendar-days","href":"/pt/tools/date"},{"title":"Arquivos compactados (@archive)","sidebarTitle":"Arquivos compactados","icon":"file-zipper","href":"/pt/tools/archive"},{"title":"Skills Embutidas","sidebarTitle":"Skills Embutidas","icon":"boxes-stacked","href":"/pt/tools/builtin-skills"},{"title":"Scheduler (Chronos) — Agendamento durável","sidebarTitle":"Scheduler","icon":"clock","href":"/pt/tools/scheduler"}]},{"group":"Extensões","icon":"plug","pages":[{"title":"Sistema de Plugins","sidebarTitle":"Sistema de Plugins","icon":"plug","href":"/pt/extensions/plugin-system"},{"title":"Plugins de Provider","sidebarTitle":"Plugins de Provider","icon":"plug-circle-bolt","href":"/pt/extensions/provider-plugins"},{"title":"MCP (Model Context Protocol)","sidebarTitle":"Conectar MCP Servers","icon":"link","href":"/pt/extensions/mcp-integration"},{"title":"Skill Registry","sidebarTitle":"Skill Registry","icon":"store","tag":"NEW","href":"/pt/extensions/skill-registry"},{"title":"Auto-autoria de Skills (@skill)","sidebarTitle":"Auto-autoria de Skills","icon":"wand-magic-sparkles","href":"/pt/extensions/skill-authoring"},{"title":"Slash Commands","sidebarTitle":"Slash Commands","icon":"terminal","tag":"NEW","href":"/pt/extensions/slash-commands"},{"title":"Sistema de Hooks","sidebarTitle":"Hooks","icon":"webhook","href":"/pt/extensions/hooks-system"}]},{"group":"Canais e gateway","icon":"comments","pages":[{"title":"Chat gateway","sidebarTitle":"Chat gateway","icon":"messages","href":"/pt/gateway/chat-gateway"},{"title":"Telegram","icon":"telegram","href":"/pt/gateway/telegram"},{"title":"Slack","icon":"slack","href":"/pt/gateway/slack"},{"title":"Discord","icon":"discord","href":"/pt/gateway/discord"},{"title":"WhatsApp","icon":"whatsapp","href":"/pt/gateway/whatsapp"},{"title":"Webhook","icon":"webhook","href":"/pt/gateway/webhook"},{"title":"Conversation Hub — continuidade de conversa entre canais","sidebarTitle":"Conversation Hub","icon":"share-nodes","href":"/pt/gateway/conversation-hub"},{"title":"MCP Channels","sidebarTitle":"MCP Channels","icon":"tower-broadcast","href":"/pt/gateway/mcp-channels"},{"title":"Mensagens Proativas (@send)","sidebarTitle":"Mensagens Proativas","icon":"paper-plane","href":"/pt/gateway/proactive-messaging"},{"title":"Text-to-Speech \u0026 Voz no Gateway","sidebarTitle":"Text-to-Speech","icon":"volume-high","href":"/pt/gateway/text-to-speech"},{"title":"Respostas em Voz no Gateway","sidebarTitle":"Respostas em Voz","icon":"microphone","href":"/pt/gateway/voice-replies"}]},{"group":"Servidor e IDE","icon":"server","pages":[{"title":"Modo Servidor (chatcli server)","sidebarTitle":"Modo Servidor","icon":"server","href":"/pt/server/server-mode"},{"title":"Conexão Remota (chatcli connect)","sidebarTitle":"Conexão Remota","icon":"plug","href":"/pt/server/remote-connect"},{"title":"MCP Server — ChatCLI como servidor (e ACP)","sidebarTitle":"MCP Server do ChatCLI","icon":"server","href":"/pt/server/mcp-server"},{"title":"ACP — ChatCLI dentro da sua IDE","sidebarTitle":"ACP (Agente na IDE)","icon":"plug-circle-bolt","href":"/pt/server/acp"}]},{"group":"Kubernetes e AIOps","icon":"dharmachakra","pages":[{"title":"Monitoramento Kubernetes (K8s Watcher)","sidebarTitle":"K8s Watcher","icon":"binoculars","href":"/pt/kubernetes/k8s-watcher"},{"title":"Kubernetes Operator (AIOps)","sidebarTitle":"K8s Operator","icon":"dharmachakra","href":"/pt/kubernetes/k8s-operator"},{"title":"AIOps Platform (Deep-Dive)","sidebarTitle":"AIOps Platform","icon":"brain","href":"/pt/kubernetes/aiops-platform"},{"title":"ArtifactHub","sidebarTitle":"ArtifactHub","icon":"cube","href":"/pt/kubernetes/artifacthub"},{"group":"Plataforma AIOps","icon":"siren-on","pages":[{"title":"Ciclo de Vida do Incidente","sidebarTitle":"Ciclo de Vida","icon":"arrows-spin","href":"/pt/kubernetes/aiops/incident-lifecycle"},{"title":"Notificações e Escalação","sidebarTitle":"Notificações","icon":"bell","href":"/pt/kubernetes/aiops/notifications"},{"title":"SLOs e SLAs","sidebarTitle":"SLOs e SLAs","icon":"gauge-high","href":"/pt/kubernetes/aiops/slo-sla"},{"title":"Workflow de Aprovação","sidebarTitle":"Aprovações","icon":"shield-check","href":"/pt/kubernetes/aiops/approval-workflow"},{"title":"Motor de Decisão com IA","sidebarTitle":"Motor de Decisão","icon":"brain-circuit","href":"/pt/kubernetes/aiops/decision-engine"},{"title":"Federação Multi-Cluster","sidebarTitle":"Federação Multi-Cluster","icon":"network-wired","href":"/pt/kubernetes/aiops/federation"},{"title":"Chaos Engineering","sidebarTitle":"Chaos Engineering","icon":"explosion","href":"/pt/kubernetes/aiops/chaos-engineering"},{"title":"Auditoria e Compliance","sidebarTitle":"Auditoria e Compliance","icon":"clipboard-check","href":"/pt/kubernetes/aiops/audit-compliance"},{"title":"Capacity Planning e Cost Attribution","sidebarTitle":"Capacity \u0026 Custos","icon":"chart-line","href":"/pt/kubernetes/aiops/capacity-cost"},{"title":"Web Dashboard e Grafana","sidebarTitle":"Dashboard \u0026 Grafana","icon":"chart-mixed","href":"/pt/kubernetes/aiops/web-dashboard"}]}]},{"group":"Segurança","icon":"shield-halved","pages":[{"title":"Segurança Enterprise","sidebarTitle":"Segurança","icon":"shield-halved","href":"/pt/security/overview"},{"title":"Criptografia em Repouso","sidebarTitle":"Criptografia em Repouso","icon":"lock","href":"/pt/security/encryption-at-rest"},{"title":"Guia de atualização de segurança","sidebarTitle":"Atualização de segurança","icon":"shield-exclamation","href":"/pt/security/hardening-upgrade"},{"title":"Scan de Vulnerabilidades (@osv)","sidebarTitle":"Scan de Dependências","icon":"shield-halved","href":"/pt/security/dependency-scan"},{"title":"Scan de Segredos (@secrets)","sidebarTitle":"Scan de Segredos","icon":"key","href":"/pt/security/secrets-scan"}]},{"group":"Cookbook","icon":"kitchen-set","pages":[{"title":"Receita: Refatoração Segura com Modo Agente","sidebarTitle":"Refatoração com Agente","icon":"screwdriver-wrench","href":"/pt/cookbook/agent-refactoring"},{"title":"Corrigir testes com /coder","sidebarTitle":"Corrigir testes com /coder","icon":"vial","href":"/pt/cookbook/coder-fix-tests"},{"title":"Receita: Pegando uma Regressão com Evals","sidebarTitle":"Pegando uma Regressão com Evals","icon":"flask","href":"/pt/cookbook/eval-regression"},{"title":"Receita: Depurando Logs de Erro com Pipes","sidebarTitle":"Depurar Logs de Erro","icon":"bug","href":"/pt/cookbook/debugging-logs-with-pipes"},{"title":"One-Shot, Pipes e Automação","sidebarTitle":"One-Shot e Pipes","icon":"wand-magic-sparkles","href":"/pt/cookbook/oneshot-pipelines"},{"title":"Receita: Monitoramento K8s com IA","sidebarTitle":"Monitoramento K8s","icon":"chart-line","href":"/pt/cookbook/k8s-monitoring"},{"title":"Receita: Gerenciando Múltiplos Projetos com Contextos e Sessões","sidebarTitle":"Workflow Multi-Projeto","icon":"folder-tree","href":"/pt/cookbook/multi-project-workflow"},{"title":"Receita: Entendendo um Projeto de Código","sidebarTitle":"Entender Novo Projeto","icon":"rocket","href":"/pt/cookbook/onboarding-new-project"},{"title":"Receita: Gerando Release Notes com @git","sidebarTitle":"Gerar Release Notes","icon":"scroll","href":"/pt/cookbook/release-notes-automation"},{"title":"Receita: Servidor Remoto para Equipe","sidebarTitle":"Servidor para Equipe","icon":"network-wired","href":"/pt/cookbook/remote-server-setup"},{"title":"AIOps: Setup Produção Completo","sidebarTitle":"AIOps Production Setup","icon":"rocket","href":"/pt/cookbook/aiops-production-setup"},{"title":"Receita: Escalando Instances","sidebarTitle":"Escalando Instances","icon":"arrows-left-right","href":"/pt/cookbook/scaling-instances"},{"title":"AIOps: Guia de Resposta a Incidentes","sidebarTitle":"Incident Response","icon":"siren-on","href":"/pt/cookbook/aiops-incident-response"},{"title":"Hardening de Segurança para Produção","sidebarTitle":"Hardening de Segurança","icon":"lock","href":"/pt/cookbook/security-hardening-production"},{"title":"Automações com Scheduler","sidebarTitle":"Scheduler: automações","icon":"book-open","href":"/pt/cookbook/scheduler-automations"},{"title":"Receita: Debug Cross-Layer com 3 Bases de Conhecimento","sidebarTitle":"Debug Cross-Layer","icon":"diagram-project","href":"/pt/cookbook/cross-layer-knowledge-debug"}]},{"group":"Referência","icon":"rectangle-list","pages":[{"title":"Referência Completa de Comandos","sidebarTitle":"Referência de Comandos","icon":"rectangle-list","href":"/pt/reference/command-reference"},{"title":"Variáveis de Ambiente","sidebarTitle":"Variáveis de Ambiente","icon":"sliders","href":"/pt/reference/environment-variables"},{"title":"Referência de Configuração (.env)","sidebarTitle":"Configuração (.env)","icon":"gear","href":"/pt/reference/configuration"},{"title":"Configuração MCP (mcp_servers.json)","sidebarTitle":"MCP Config","icon":"gear","href":"/pt/reference/mcp-config"},{"title":"Arquitetura e Estrutura do Código","sidebarTitle":"Arquitetura","icon":"sitemap","href":"/pt/reference/architecture"},{"group":"REST API","icon":"code","pages":[{"group":"Introdução","icon":"compass","pages":[{"title":"Visão Geral da API","sidebarTitle":"Visão Geral","icon":"compass","href":"/pt/reference/api/overview"}]},{"group":"Incidents","icon":"siren-on","pages":[{"title":"Listar Incidentes","openapi":"GET /incidents","icon":"list","href":"/pt/reference/api/list-incidents"},{"title":"Obter Incidente","openapi":"GET /incidents/{name}","icon":"magnifying-glass","href":"/pt/reference/api/get-incident"},{"title":"Reconhecer Incidente","openapi":"POST /incidents/{name}/acknowledge","icon":"check","href":"/pt/reference/api/acknowledge-incident"},{"title":"Resolver Incidente","openapi":"POST /incidents/{name}/resolve","icon":"circle-check","href":"/pt/reference/api/resolve-incident"},{"title":"Adiar Incidente","openapi":"POST /incidents/{name}/snooze","icon":"clock","href":"/pt/reference/api/snooze-incident"},{"title":"Obter Timeline do Incidente","openapi":"GET /incidents/{name}/timeline","icon":"timeline","href":"/pt/reference/api/get-timeline"},{"title":"Obter Remediação do Incidente","openapi":"GET /incidents/{name}/remediation","icon":"wrench","href":"/pt/reference/api/get-remediation"}]},{"group":"AI Insights","icon":"lightbulb","pages":[{"title":"Listar AI Insights","openapi":"GET /aiinsights","icon":"list","href":"/pt/reference/api/list-aiinsights"},{"title":"Obter AI Insight","openapi":"GET /aiinsights/{name}","icon":"lightbulb","href":"/pt/reference/api/get-aiinsight"}]},{"group":"Remediations","icon":"wrench","pages":[{"title":"Listar Remediações","openapi":"GET /remediations","icon":"list","href":"/pt/reference/api/list-remediations"},{"title":"Obter Plano de Remediação","openapi":"GET /remediations/{name}","icon":"wrench","href":"/pt/reference/api/get-remediation-detail"}]},{"group":"Runbooks","icon":"book-open","pages":[{"title":"Listar Runbooks","openapi":"GET /runbooks","icon":"list","href":"/pt/reference/api/list-runbooks"},{"title":"Obter Runbook","openapi":"GET /runbooks/{name}","description":"Retorna um recurso Runbook","icon":"book-open","href":"/pt/reference/api/get-runbook"},{"title":"Criar Runbook","openapi":"POST /runbooks","icon":"plus","href":"/pt/reference/api/create-runbook"},{"title":"Atualizar Runbook","openapi":"PUT /runbooks/{name}","description":"Substitui a definição de um Runbook existente","icon":"pen-to-square","href":"/pt/reference/api/update-runbook"},{"title":"Excluir Runbook","openapi":"DELETE /runbooks/{name}","icon":"trash","href":"/pt/reference/api/delete-runbook"}]},{"group":"Approvals","icon":"circle-check","pages":[{"title":"Listar Aprovações","openapi":"GET /approvals","icon":"list","href":"/pt/reference/api/list-approvals"},{"title":"Obter Aprovação","openapi":"GET /approvals/{name}","icon":"magnifying-glass","href":"/pt/reference/api/get-approval"},{"title":"Aprovar Solicitação","openapi":"POST /approvals/{name}/approve","icon":"circle-check","href":"/pt/reference/api/approve"},{"title":"Rejeitar Solicitação","openapi":"POST /approvals/{name}/reject","icon":"circle-xmark","href":"/pt/reference/api/reject"}]},{"group":"SLOs","icon":"gauge","pages":[{"title":"Listar SLOs","openapi":"GET /slos","icon":"list","href":"/pt/reference/api/list-slos"},{"title":"Obter SLO","openapi":"GET /slos/{name}","icon":"gauge","href":"/pt/reference/api/get-slo"},{"title":"Obter Error Budget do SLO","openapi":"GET /slos/{name}/budget","icon":"coins","href":"/pt/reference/api/get-slo-budget"}]},{"group":"PostMortems","icon":"magnifying-glass-chart","pages":[{"title":"Listar PostMortems","openapi":"GET /postmortems","icon":"list","href":"/pt/reference/api/list-postmortems"},{"title":"Obter PostMortem","openapi":"GET /postmortems/{name}","icon":"magnifying-glass","href":"/pt/reference/api/get-postmortem"},{"title":"Revisar PostMortem","openapi":"POST /postmortems/{name}/review","icon":"user-pen","href":"/pt/reference/api/review-postmortem"},{"title":"Feedback do Desenvolvedor","openapi":"POST /postmortems/{name}/feedback","icon":"comment","href":"/pt/reference/api/feedback-postmortem"},{"title":"Reconhecer Ação Humana","openapi":"POST /postmortems/{name}/ack-human-action","icon":"user-check","href":"/pt/reference/api/ack-human-action-postmortem"},{"title":"Fechar PostMortem","openapi":"POST /postmortems/{name}/close","icon":"lock","href":"/pt/reference/api/close-postmortem"}]},{"group":"Analytics","icon":"chart-line","pages":[{"title":"Resumo de Analytics","openapi":"GET /analytics/summary","icon":"chart-line","href":"/pt/reference/api/analytics-summary"},{"title":"Analytics MTTR","openapi":"GET /analytics/mttr","icon":"stopwatch","href":"/pt/reference/api/analytics-mttr"},{"title":"Analytics MTTD","openapi":"GET /analytics/mttd","icon":"stopwatch","href":"/pt/reference/api/analytics-mttd"},{"title":"Tendências de Analytics","openapi":"GET /analytics/trends","icon":"arrow-trend-up","href":"/pt/reference/api/analytics-trends"},{"title":"Top Recursos de Analytics","openapi":"GET /analytics/top-resources","icon":"ranking-star","href":"/pt/reference/api/analytics-top-resources"},{"title":"Estatísticas de Remediação","openapi":"GET /analytics/remediation-stats","icon":"chart-pie","href":"/pt/reference/api/analytics-remediation-stats"},{"title":"Compliance de Analytics","openapi":"GET /analytics/compliance","icon":"clipboard-check","href":"/pt/reference/api/analytics-compliance"},{"title":"Capacidade de Analytics","openapi":"GET /analytics/capacity","icon":"server","href":"/pt/reference/api/analytics-capacity"},{"title":"Custo","openapi":"GET /analytics/cost","icon":"coins","href":"/pt/reference/api/analytics-cost"}]},{"group":"Clusters","icon":"diagram-project","pages":[{"title":"Listar Clusters","openapi":"GET /clusters","icon":"list","href":"/pt/reference/api/list-clusters"},{"title":"Obter Cluster","openapi":"GET /clusters/{name}","icon":"diagram-project","href":"/pt/reference/api/get-cluster"},{"title":"Listar Políticas","openapi":"GET /policies/{kind}","icon":"list-check","href":"/pt/reference/api/list-policies"},{"title":"Obter Política","openapi":"GET /policies/{kind}/{name}","icon":"file-lines","href":"/pt/reference/api/get-policy"},{"title":"Status Global dos Clusters","openapi":"GET /clusters/global-status","icon":"globe","href":"/pt/reference/api/global-status"}]},{"group":"Federation","icon":"network-wired","pages":[{"title":"Status da Federação","openapi":"GET /federation/status","icon":"network-wired","href":"/pt/reference/api/federation-status"},{"title":"Clusters da Federação","openapi":"GET /federation/clusters","icon":"list","href":"/pt/reference/api/federation-clusters"},{"title":"Correlações da Federação","openapi":"GET /federation/correlations","icon":"diagram-project","href":"/pt/reference/api/federation-correlations"}]},{"group":"Audit","icon":"clipboard-check","pages":[{"title":"Listar Eventos de Auditoria","openapi":"GET /audit","icon":"list","href":"/pt/reference/api/list-audit"},{"title":"Exportar Auditoria","openapi":"GET /audit/export","icon":"file-export","href":"/pt/reference/api/export-audit"}]},{"group":"Health","icon":"heart-pulse","pages":[{"title":"Endpoints de Saúde","openapi":"GET /healthz","icon":"heart-pulse","href":"/pt/reference/api/health-endpoints"}]}]}]},{"group":"Releases","icon":"rocket","tag":"v1.232.0","pages":[{"title":"Notas de release","icon":"tag","href":"/pt/releases"},{"title":"v1.232.0","tag":"Mais recente","href":"/pt/releases/1.232.0"},{"title":"v1.231.1","href":"/pt/releases/1.231.1"},{"title":"v1.231.0","href":"/pt/releases/1.231.0"},{"title":"v1.230.0","href":"/pt/releases/1.230.0"},{"title":"v1.229.0","href":"/pt/releases/1.229.0"},{"title":"v1.228.1","href":"/pt/releases/1.228.1"},{"title":"v1.228.0","href":"/pt/releases/1.228.0"},{"title":"v1.227.0","href":"/pt/releases/1.227.0"},{"title":"v1.226.0","href":"/pt/releases/1.226.0"},{"title":"v1.225.0","href":"/pt/releases/1.225.0"}]},{"group":"Ajuda","icon":"life-ring","pages":[{"title":"Solução de Problemas","sidebarTitle":"Troubleshooting","icon":"life-ring","href":"/pt/help/troubleshooting"},{"title":"Contribuindo com o ChatCLI","sidebarTitle":"Contribuindo","icon":"code-pull-request","href":"/pt/help/contributing"}]}]}]}]},"basePath":"","title":"Criar Runbook - ChatCLI","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CiUHMMOm.js","snippetPresets-BgfXU7Bw.js","utils-DWvOwgy_.js","style-to-object-BY3JEAdk.js","utils-BN7RXSMJ.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CFw8bq89.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CAwdfOU2.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","ApiExamples-XX0UgMZK.js","usePlaygroundInputsStore-DXDFSa1V.js","shallow-CdX5aREi.js","isEqual-CoOaxexF.js","CodeSnippets-Cg2wpzWm.js","CodeSnippet-D_HwgQO_.js","getApiPlaygroundDisplay-CmCoerhe.js","Page-CVJ-f_k1.js","DynamicMarkdown-CQM9Bhbv.js","SectionHeading-DpbrP8nQ.js","icon-BPCgijHy.js","MethodPill-GQ8DuY0c.js","getPastedJson-Cb5mT31m.js","Check2Icon-a7bUI6e8.js","axios-CsQoIw0U.js","Markdown-CX2QY19L.js","AssistantPageLink-CY3bFglh.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}