# tools.ozone.report.getLiveStats

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

- Kind: query
- Authority: report.ozone.tools
- Lexicon: 1
- Published by [ozone-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:33dt5kftu3jq2h5h4jjlqezt), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.report.getLiveStats)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.report.getLiveStats/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.report.getLiveStats/analytics)

## Query (`tools.ozone.report.getLiveStats`)

Type: query · GET

### Parameters (query string)

- `moderatorDid` (string · did): Filter stats by moderator DID.
- `queueId` (integer): Filter stats by queue. Use -1 for unqueued reports.
- `reportTypes` (array): Filter stats by report types.
  - `items` (string)

### Output (application/json)

- `stats` (ref, required): Statistics for the requested filter.
  - Reference: `tools.ozone.report.defs#liveStats`

## 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
}
```
