# snizu app logs

Source: https://snizu.dev/docs/cli/app/logs

## Usage [#usage]

```sh title="Usage"
snizu app logs [dir] [--follow] [--state failed] [--json]
```

## Flags [#flags]

<Fields>
<Field name="[dir]" type="path">
The app's folder, whose `snizu.app.json` names the app. The current one by default.
</Field>

<Field name="--follow" type="flag">
Keep going: ask again every five seconds and print what's new, until Ctrl C.
</Field>

<Field name="--state" type="pending | succeeded | failed">
Only deliveries in this state. `pending` is queued or waiting to try again; `failed` has run out of tries.
</Field>

<Field name="--json" type="flag">
One JSON object a line, for scripts: `id`, `last_attempt_at`, `topic`, `state`, `response_status`, `store_name`, `error`.
</Field>
</Fields>

It needs the token's `logs:read` permission. Bodies aren't in the log: the platform doesn't keep them.

## Examples [#examples]

```shellsession title="Terminal"
$ snizu app logs --follow --state failed
2026-11-24T12:04:51Z failed 401 order.created · Siwa Grove
2026-11-24T12:09:13Z failed 500 order.paid · Dukkan Ward
Following. Ctrl+C to stop.
```

Each line is when it was last tried, its state, the status your endpoint answered (when it answered), the topic, the store and the error. A 401 usually means the signature check is wrong: see [Verify webhook signatures](/docs/connections/webhooks/verify-signatures).