Skip to content

๐Ÿ“Œ Platform Summary Analytics

Endpoint: GET /api/admin/analytics/summary/
Auth Required: โœ… Yes (Admin / Super Admin Bearer Token)
Content-Type: application/json


๐Ÿ“Œ Description

The Platform Summary Analytics endpoint provides administrators with a high-level snapshot of the entire CivicEdge platform.

This summary acts as the default dashboard view, allowing admins to quickly understand system health, civic activity, and participation trends at a glance.

It aggregates key metrics from multiple modules into a single response.


๐ŸŽฏ Purpose

  • Provide a quick overview of platform performance
  • Highlight key civic activity indicators
  • Support daily administrative monitoring
  • Enable leadership-level decision making

๐Ÿ“Š Metrics Included

๐Ÿงพ Complaint Overview

  • Total complaints
  • Open complaints
  • In-progress complaints
  • Resolved complaints
  • Average resolution time

๐Ÿง‘โ€๐Ÿ”ง Solver Overview

  • Total active solvers
  • Tasks assigned today
  • Tasks completed today
  • Pending or overdue tasks

๐Ÿค Volunteer Overview

  • Total volunteer groups
  • Active volunteers
  • Ongoing events
  • Participation count

๐Ÿ’ฌ Community Overview

  • Active forum threads
  • Comments posted today
  • Reported content count
  • Polls currently active

๐Ÿ‘ฅ User Overview

  • Total registered users
  • New registrations (today / week)
  • Daily active users
  • Weekly active users

๐Ÿ” Query Parameters (Optional)

Parameter Type Description
date_range string today, 7_days, 30_days, custom
zone string Filter by ward or zone

โœ… Example Request

```http GET /api/admin/analytics/summary/?date_range=7_days Authorization: Bearer