> ## Documentation Index
> Fetch the complete documentation index at: https://cosmo-docs.wundergraph.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get

> Shows the audit log stream configuration and its delivery status.

## Usage

```bash theme={"system"}
npx wgc audit-log stream get [--json]
```

## Description

The `npx wgc audit-log stream get` command prints the organization's audit log stream configuration, when the collector last accepted a delivery (a batch or a `stream test` event), and the last delivery error, if any. The token is masked to its last four characters.

## Options

* `--json` : Prints the configuration as JSON. Prints `null` if no stream is configured. If the request fails, prints `{ "status": "error", "code", "message", "details" }` and exits with code 1.

## Examples

```bash theme={"system"}
npx wgc audit-log stream get
```

```
Endpoint:    https://splunk.example.com:8088/services/collector/event
Token:       ****3f9a
Index:       cosmo
Source:      cosmo
Sourcetype:  wundergraph:cosmo:audit
Enabled:     yes
Last sent:   2026-11-14T09:00:00.000Z
```

If the collector rejected the last batch, a `Last error` line shows when and why. Delivery retries every 30 seconds from the same point until it succeeds.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.