> ## Documentation Index
> Fetch the complete documentation index at: https://wsignal.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# inspect

> Inspect endpoints or view the most relevant saved event details.

## Synopsis

```bash theme={null}
wsignal inspect [--config ./wsignal.config.ts]
wsignal inspect --endpoint stripe
wsignal inspect --endpoint stripe --last 5
wsignal inspect --id evt_20260329_xxxxxx
```

## What It Does

`wsignal inspect` is optimized for targeted inspection rather than browsing.

Depending on the flags you pass, it does one of three things:

* No flags: list available endpoints and saved record counts
* `--endpoint`: show the most recent record for one endpoint by default
* `--id`: show one saved event in full detail

## Options

### `--config <path>`

Read records using a specific config file.

### `--endpoint <name>`

Target one endpoint.

If you do not also pass `--last`, `inspect` returns the most recent saved record for that endpoint.

### `--id <eventId>`

Inspect a single event by its ID.

### `--last <count>`

When used with `--endpoint`, inspect the last `N` records for that endpoint.

If more than one record is returned, `inspect` prints a table and suggests an exact `inspect --id` command for drilling into one event.

## Examples

List endpoints and record counts:

```bash theme={null}
wsignal inspect
```

Show the latest GitHub event:

```bash theme={null}
wsignal inspect --endpoint github
```

Show the latest 5 GitHub events:

```bash theme={null}
wsignal inspect --endpoint github --last 5
```

Show a single event:

```bash theme={null}
wsignal inspect --id evt_20260329_xxxxxx
```
