getHistoricalStats method

Future<XRPCResponse<ReportGetHistoricalStatsOutput>> getHistoricalStats({
  1. int? queueId,
  2. String? moderatorDid,
  3. List<String>? reportTypes,
  4. DateTime? startDate,
  5. DateTime? endDate,
  6. int? limit,
  7. String? cursor,
  8. String? $service,
  9. Map<String, String>? $headers,
  10. Map<String, String>? $unknown,
})

Get historical daily report statistics. Returns a paginated list of daily stat snapshots, newest first. Filter by queue, moderator, or report type.

Implementation

Future<XRPCResponse<ReportGetHistoricalStatsOutput>> getHistoricalStats({
  int? queueId,
  String? moderatorDid,
  List<String>? reportTypes,
  DateTime? startDate,
  DateTime? endDate,
  int? limit,
  String? cursor,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await toolsOzoneReportGetHistoricalStats(
  queueId: queueId,
  moderatorDid: moderatorDid,
  reportTypes: reportTypes,
  startDate: startDate,
  endDate: endDate,
  limit: limit,
  cursor: cursor,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);