Analytics
Get Trends
Get daily trend data for charts and visualizations
GET
Get Trends
Returns daily aggregated data for task and mood trends, suitable for charting.This endpoint is only accessible to users with
manager or admin roles.Request
string
required
Bearer token from authentication
string
default:"30d"
Time range for trend data. Options:
7d, 30d, 90dResponse
Task Trends
array
Daily task data points
string
Formatted date label (e.g., “Jan 15”)
number
Number of tasks created on this date
number
Number of tasks completed on this date
Mood Trends
array
Daily mood data points
string
Formatted date label (e.g., “Jan 15”)
number
Average mood score for the day (1-5)
number
Number of mood entries for the day