---
title: "ezgh queues peek"
description: "Look at a queue's messages without receiving them."
---

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

# ezgh queues peek

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh queues peek <queue> [--limit n] [flags]
```

List a queue's messages in the order they were sent, with their state (visible, inFlight or delayed) and how often they've been received: it claims nothing and changes nothing, and gives no receipt handles. For dead-letter queues and debugging; -o json shows whole bodies and attributes.

Part of [`ezgh queues`](/cli/reference/queues).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--all` | boolean |  | follow nextCursor through every page |
| `--cursor` | string |  | start from this page (a previous page's nextCursor) |
| `--limit` | int | `20` | items per page, 1 to 100 |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/queues-peek/index.mdx
