DeveloperAPI ReferenceAnalyticsMeStats
/api/analytics/me/stats
Query Parameters
range?string
Value in
"24h" | "7d" | "30d" | "1y" | "ytd" | "all"includeManual?|
Include manually-marked-watched sessions in totals (default true)
Response Body
application/json
curl -X GET "https://example.com/api/analytics/me/stats"{
"range": "24h",
"totalSessions": 0,
"totalSecondsWatched": 0,
"pagesRead": 0,
"completedCount": 0,
"topMediaType": "string",
"recentlyWatched": [
{
"sessionId": "string",
"itemId": "string",
"itemTitle": "string",
"libraryId": "string",
"libraryName": "string",
"mediaType": "string",
"startedAt": "string",
"secondsWatched": 0,
"completed": true,
"source": "tracked"
}
]
}