---
title: rpk ai kill-switch-policy create
latest-operator-version: v26.2.6
latest-console-tag: v3.14.0
latest-connect-version: 4.118.0
latest-redpanda-tag: v26.2.7
docname: rpk/rpk-ai/rpk-ai-kill-switch-policy-create
page-component-name: agentic-data-plane
page-version: master
page-component-version: master
page-component-title: Agentic Data Plane
page-relative-src-path: rpk/rpk-ai/rpk-ai-kill-switch-policy-create.adoc
page-edit-url: https://github.com/redpanda-data/adp-docs/edit/main/modules/reference/pages/rpk/rpk-ai/rpk-ai-kill-switch-policy-create.adoc
description: Create a Kill switch policy.
page-git-created-date: "2026-10-06"
page-git-modified-date: "2026-10-26"
page-generated-sources:
  - include: streaming:reference:partial$rpk-ai/rpk-ai-kill-switch-policy-create.adoc
    generator: rpk-docs
    version: null
    source: the rpk command help in redpanda-data/streaming-enterprise
page-generated-content: partial
---

# rpk ai kill-switch-policy create

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [agentic-data-plane-full.txt](https://docs.redpanda.com/agentic-data-plane-full.txt)

<!-- Source: https://docs.redpanda.com/agentic-data-plane/reference/rpk/rpk-ai/rpk-ai-kill-switch-policy-create.md -->

Create a Kill switch policy.

> 📝 **NOTE**
>
> This command was introduced in ai version 0.2.51.

## Usage

```bash
rpk ai kill-switch-policy create NAME [flags]
```

## Examples

This section provides examples of how to use `rpk ai kill-switch-policy create`.

```bash
rpk ai kill-switch-policy create my-kill-switch-policy \
  --parent PARENT \
  --spec.signal guardrail-block-rate
```

## Flags

| Value | Type | Description |
| --- | --- | --- |
| `--parent` | string | Parent. (`required`). |
| `--display-name` | string | Display name. |
| `--spec.signal` | string | Signal. (one of: guardrail-block-rate, datapolicy-deny-rate, evaluation-error-rate). |
| `--spec.burst.threshold` | float | Threshold. |
| `--spec.burst.confidence` | string | Confidence. (one of: 95, 99, 999). |
| `--spec.drift.baseline` | float | Baseline. |
| `--spec.drift.slack` | float | Slack. |
| `--spec.drift.threshold` | float | Threshold. |
| `--spec.mode` | string | Mode. (one of: shadow, warn, enforce). |
| `-f, --filename` | string | manifest to create from (YAML or JSON; "-" for stdin); flags override file values. |
| `--dry-run` | bool | print the request that would be sent (with the computed update mask) and exit without calling the server. |

## Global flags

| Value | Type | Description |
| --- | --- | --- |
| `--config` | string | Redpanda or `rpk` config file; default search paths are `~/.config/rpk/rpk.yaml`, `$PWD/redpanda.yaml`, and `/etc/redpanda/redpanda.yaml`. |
| `-X, --config-opt` | stringArray | Override `rpk` configuration settings; `-X help` for detail or `-X list` for terser detail. |
| `--ignore-profile` | bool | Ignore `rpk.yaml` and `redpanda.yaml`; use default settings. |
| `--profile` | string | `rpk` profile to use. |
| `-v, --verbose` | bool | Enable verbose logging. |