# Dashboard stats API stats = await get_dashboard_stats(request) return json.dumps(stats, ensure_ascii=False, default=str)