Sofa
Dashboard

Get dashboard statistics

Fetch summary counts for the current user: movies watched this month, episodes this week, library size, and completed titles.

GET
/dashboard/stats
better-auth.session_token<token>

Better Auth session cookie

In: cookie

Response Body

application/json

curl -X GET "http://localhost:3000/api/v1/dashboard/stats"
{
  "moviesThisMonth": 0,
  "episodesThisWeek": 0,
  "librarySize": 0,
  "completed": 0
}