Skip to main content
GET
/
dashboard
/
stats
curl -X GET "https://api.hitler.app/dashboard/stats" \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "totalTasks": 156,
  "pendingTasks": 23,
  "completedToday": 8,
  "overdueCount": 5,
  "teamMoodAvg": 3.8
}

Get Dashboard Stats

Returns aggregated statistics for the dashboard overview.

Request

Authorization
string
required
Bearer token from authentication

Response

totalTasks
number
Total number of tasks in the organization
pendingTasks
number
Number of tasks with status “pending”
completedToday
number
Number of tasks completed in the last 24 hours
overdueCount
number
Number of tasks past their due date
teamMoodAvg
number | null
Average team mood score (1-5) for the current week. Null if no mood data available.
curl -X GET "https://api.hitler.app/dashboard/stats" \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "totalTasks": 156,
  "pendingTasks": 23,
  "completedToday": 8,
  "overdueCount": 5,
  "teamMoodAvg": 3.8
}