# tools.ozone.queue.listQueues

> Published by [ozone-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:33dt5kftu3jq2h5h4jjlqezt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.queue.listQueues)
- [Documentation](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.queue.listQueues/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.queue.listQueues/examples)

## Definitions

### `tools.ozone.queue.listQueues`

**Type**: `query`

List all configured moderation queues with statistics.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `collection` | `string` | No | Filter queues by collection name (e.g. 'app.bsky.feed.post'). |
| `cursor` | `string` | No |  |
| `enabled` | `boolean` | No | Filter by enabled status. If not specified, returns all queues. |
| `limit` | `integer` | No |  |
| `reportTypes` | `array` | No | Filter queues that handle any of these report reason types. |
| `subjectType` | `string` | No | Filter queues that handle this subject type ('account', 'record', 'message', or 'conversation'). |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No |  |
| `queues` | `array` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List all configured moderation queues with statistics.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "queues": {
              "items": {
                "ref": "tools.ozone.queue.defs#queueView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "queues"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "collection": {
            "description": "Filter queues by collection name (e.g. 'app.bsky.feed.post').",
            "type": "string"
          },
          "cursor": {
            "type": "string"
          },
          "enabled": {
            "description": "Filter by enabled status. If not specified, returns all queues.",
            "type": "boolean"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "reportTypes": {
            "description": "Filter queues that handle any of these report reason types.",
            "items": {
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "subjectType": {
            "description": "Filter queues that handle this subject type ('account', 'record', 'message', or 'conversation').",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "tools.ozone.queue.listQueues",
  "lexicon": 1
}
```
