# pub.chive.admin.listDLQEntries

> Published by [chive.pub](https://lexicon.garden/identity/did:plc:7natp5xae72bddaqlkef2t4e)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.admin.listDLQEntries)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.admin.listDLQEntries/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.admin.listDLQEntries/examples)

## Definitions

### `pub.chive.admin.listDLQEntries`

**Type**: `query`

List entries from the firehose dead-letter queue

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No | Maximum number of entries |
| `offset` | `integer` | No | Number of entries to skip |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `total` | `integer` | Yes | Total entries in the DLQ |
| `entries` | `array` | Yes | DLQ entries |

#### Errors

- **AuthenticationRequired**
- **AdminRequired**

### `pub.chive.admin.listDLQEntries#dlqEntry`

**Type**: `object`

Dead-letter queue entry

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | `string` | Yes | Entry ID |
| `did` | `string` (did) | No | DID of the event source |
| `uri` | `string` (at-uri) | No | AT URI of the failed event |
| `createdAt` | `string` (datetime) | Yes | When the entry was created |
| `errorType` | `string` | Yes | Error classification |
| `retryCount` | `integer` | Yes | Number of retry attempts |
| `lastRetryAt` | `string` (datetime) | No | Last retry attempt timestamp |
| `errorMessage` | `string` | No | Error detail message |

## Raw Schema

```json
{
  "id": "pub.chive.admin.listDLQEntries",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AdminRequired"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "entries",
            "total"
          ],
          "properties": {
            "total": {
              "type": "integer",
              "description": "Total entries in the DLQ"
            },
            "entries": {
              "type": "array",
              "items": {
                "ref": "#dlqEntry",
                "type": "ref"
              },
              "description": "DLQ entries"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of entries"
          },
          "offset": {
            "type": "integer",
            "default": 0,
            "minimum": 0,
            "description": "Number of entries to skip"
          }
        }
      },
      "description": "List entries from the firehose dead-letter queue"
    },
    "dlqEntry": {
      "type": "object",
      "required": [
        "id",
        "errorType",
        "createdAt",
        "retryCount"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Entry ID"
        },
        "did": {
          "type": "string",
          "format": "did",
          "description": "DID of the event source"
        },
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT URI of the failed event"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime",
          "description": "When the entry was created"
        },
        "errorType": {
          "type": "string",
          "description": "Error classification"
        },
        "retryCount": {
          "type": "integer",
          "description": "Number of retry attempts"
        },
        "lastRetryAt": {
          "type": "string",
          "format": "datetime",
          "description": "Last retry attempt timestamp"
        },
        "errorMessage": {
          "type": "string",
          "description": "Error detail message"
        }
      },
      "description": "Dead-letter queue entry"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
