# rpk ai trigger diff

> 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)

---
title: rpk ai trigger diff
latest-operator-version: v26.2.4
latest-console-tag: v3.12.0
latest-connect-version: 4.113.1
latest-redpanda-tag: v26.2.4
docname: rpk/rpk-ai/rpk-ai-trigger-diff
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-trigger-diff.adoc
page-edit-url: https://github.com/redpanda-data/adp-docs/edit/main/modules/reference/pages/rpk/rpk-ai/rpk-ai-trigger-diff.adoc
description: Dry-run of apply for triggers. Prints, per manifest, whether apply would create, update (and which fields), or leave the resource unchanged.
page-git-created-date: "2026-09-18"
page-git-modified-date: "2026-09-22"
---

<!-- Source: https://docs.redpanda.com/agentic-data-plane/reference/rpk/rpk-ai/rpk-ai-trigger-diff.md -->

Dry-run of apply for triggers. Prints, per manifest, whether apply would create, update (and which fields), or leave the resource unchanged. Exits non-zero when any change is pending, so CI can gate on `no drift`.

Every writable field is compared, including the ones a manifest omits: an omitted field is drift when live differs from what a create would have produced. What diff does not detect is a resource that exists live but is absent from the manifests (no prune).

## [](#usage)Usage

```bash
rpk ai trigger diff [flags]
```

## [](#flags)Flags

| Value | Type | Description |
| --- | --- | --- |
| -f, --filename | strings | manifest file, directory, or - for stdin (repeatable). |

## [](#global-flags)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. |