# tools.ozone.report.getLiveStats

> 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.report.getLiveStats)
- [Documentation](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.report.getLiveStats/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.report.getLiveStats/examples)

## Definitions

### `tools.ozone.report.getLiveStats`

**Type**: `query`

Get live report statistics for the current UTC calendar day. Filter by queue, moderator, or report type. Omit all parameters for aggregate stats.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `moderatorDid` | `string` (did) | No | Filter stats by moderator DID. |
| `queueId` | `integer` | No | Filter stats by queue. Use -1 for unqueued reports. |
| `reportTypes` | `array` | No | Filter stats by report types. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `stats` | `ref` → `tools.ozone.report.defs#liveStats` | Yes | Statistics for the requested filter. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get live report statistics for the current UTC calendar day. Filter by queue, moderator, or report type. Omit all parameters for aggregate stats.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "stats": {
              "description": "Statistics for the requested filter.",
              "ref": "tools.ozone.report.defs#liveStats",
              "type": "ref"
            }
          },
          "required": [
            "stats"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "moderatorDid": {
            "description": "Filter stats by moderator DID.",
            "format": "did",
            "type": "string"
          },
          "queueId": {
            "description": "Filter stats by queue. Use -1 for unqueued reports.",
            "type": "integer"
          },
          "reportTypes": {
            "description": "Filter stats by report types.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "tools.ozone.report.getLiveStats",
  "lexicon": 1
}
```
