tools.ozone.report.getHistoricalStats

ozone-lexicons.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get historical daily report statistics. Returns a paginated list of daily stat snapshots, newest first. Filter by queue, moderator, or report type.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "stats": {
              "items": {
                "ref": "tools.ozone.report.defs#historicalStats",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "stats"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Pagination cursor.",
            "type": "string"
          },
          "endDate": {
            "description": "Latest date to include (inclusive).",
            "format": "datetime",
            "type": "string"
          },
          "limit": {
            "default": 30,
            "description": "Maximum number of entries to return.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "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"
          },
          "startDate": {
            "description": "Earliest date to include (inclusive).",
            "format": "datetime",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "tools.ozone.report.getHistoricalStats",
  "lexicon": 1
}

Validate Record

Validate a record against tools.ozone.report.getHistoricalStats

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:33dt5kftu3jq2h5h4jjlqezt
CID
bafyreibi6rm5lhrw2zui3y5sdeawsnhw3mrhqen7bwv7j3txza5ggdpbhi
Indexed At
2026-10-03 21:31 UTC
AT-URI
at://did:plc:33dt5kftu3jq2h5h4jjlqezt/com.atproto.lexicon.schema/tools.ozone.report.getHistoricalStats

Referenced Schemas (1)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@