---
title: rpk ai auditlog get
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-auditlog-get
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-auditlog-get.adoc
page-edit-url: https://github.com/redpanda-data/adp-docs/edit/main/modules/reference/pages/rpk/rpk-ai/rpk-ai-auditlog-get.adoc
description: Read one audit log entry with every field, including the request and entity bodies that list leaves out. <code>-o yaml</code> is the readable form for those.
page-git-created-date: "2026-10-13"
page-git-modified-date: "2026-10-13"
page-generated-sources:
  - include: streaming:reference:partial$rpk-ai/rpk-ai-auditlog-get.adoc
    generator: rpk-docs
    version: null
    source: the rpk command help in redpanda-data/streaming-enterprise
page-generated-content: partial
---

# rpk ai auditlog get

> 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-auditlog-get.md -->

Read one audit log entry with every field, including the request and entity bodies that list leaves out. `-o yaml` is the readable form for those. `--fields` narrows the entry to the named fields.

get reads one event, not a grouped call, so its resources field is never filled. When a list row shows a resource_count above 1, the call’s members come from '\`rpk ai auditlog list --correlation-id\` <correlation_id>', one row per resource; each member’s id works with get.

Exit codes: 0 on success; 1 on an error, including an unknown id; 3 when not authenticated or missing the dataplane_adp_auditlog_list permission.

## Usage

```bash
rpk ai auditlog get <id> [flags]
```

## Examples

This section provides examples of how to use `rpk ai auditlog get`.

```bash
rpk ai auditlog get 1791393600123-6b0d2c1e-... -o yaml
rpk ai auditlog get 1791393600123-6b0d2c1e-... --fields entity_before,entity_after
```

## Flags

| Value | Type | Description |
| --- | --- | --- |
| `--fields` | strings | fields to return (`comma-separated`); default all. |

## 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. |