# tools.ozone.report.refreshStats

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

## Definitions

### `tools.ozone.report.refreshStats`

**Type**: `procedure`

Recompute report statistics for a date range.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `endDate` | `string` | Yes | End date for recomputation, inclusive (YYYY-MM-DD). |
| `queueIds` | `array` | No | Optional list of queue IDs to recompute. Omit to recompute all groups. |
| `startDate` | `string` | Yes | Start date for recomputation, inclusive (YYYY-MM-DD). |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Recompute report statistics for a date range.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "endDate": {
              "description": "End date for recomputation, inclusive (YYYY-MM-DD).",
              "type": "string"
            },
            "queueIds": {
              "description": "Optional list of queue IDs to recompute. Omit to recompute all groups.",
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "startDate": {
              "description": "Start date for recomputation, inclusive (YYYY-MM-DD).",
              "type": "string"
            }
          },
          "required": [
            "startDate",
            "endDate"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "tools.ozone.report.refreshStats",
  "lexicon": 1
}
```
