Agentic Data Plane

rpk ai guardrail set-target-guardrails

Replace the guardrails and bundles attached to one target.

Usage

rpk ai guardrail set-target-guardrails [flags]

Flags

Value Type Description

--target.agent

string

Agent.

--target.llm-provider

string

Llm provider.

--guardrails

strings

Guardrails. (repeatable; replaces the full list on update).

--guardrail-bundles

strings

Guardrail bundles. (repeatable; replaces the full list on update).

--etag

string

Etag.

-f, --filename

string

request as YAML or JSON, or - 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.