Get Stats
Retrieve journaling statistics including streak data, mood distribution, and engagement metrics.Response Fields
Streak Data
Detailed streak and engagement statistics
Encouragement
Personalized message based on streak length
- “Start your journaling journey today. Every story begins with one page.”
- “Great start! One day at a time builds lasting habits.”
- “7 days strong! You’re building something meaningful.”
- “Amazing 30-day streak! Consistency is your superpower.”
- “Incredible 100 days! Your dedication to self-reflection inspires.”
- “Legendary 365-day streak! You’ve mastered the art of daily reflection.”
Mood Distribution
Count of entries for each mood category
Writing Stats
Sum of word counts across all entries
Average words per entry (rounded)
Week Chain
Visual representation of last 7 days
Today’s Status
Whether you’ve journaled today
Hours remaining in the day (rounded to 1 decimal)
Current streak status
safe- Already journaled todayreminder- Haven’t journaled, 6-12 hours leftat_risk- Haven’t journaled, < 6 hours leftstart- No current streak
Badges
Milestone badges for streak achievements
Next Milestone
Information about the next unachieved milestone
null if all milestones achieved.
Weekly Goal
Progress toward weekly journaling goal (default: 5 days)
Streak Calculation
The streak algorithm:-
Current streak: Consecutive days with entries, ending today or yesterday
- If you journal today, the streak continues
- If you journal yesterday but not today, the streak is still active (grace period)
- If you miss both today and yesterday, the streak resets to 0
- Longest streak: Maximum consecutive days ever achieved
- Counts: Simple counts over specified time periods
Use Cases
Display Dashboard
Use this endpoint to build a stats dashboard:Gamification
Use badges and milestones for motivation:Streak Protection
Warn users about at-risk streaks:Empty State
If no entries exist:Next Steps
Insights API
Discover patterns and correlations
Entries API
Manage journal entries