Get a reading statistic
get_reading_statisticRetrieve a pre-aggregated chart of your reading activity—daily trends, peak hours, pace, or genre breakdowns—to analyze your personal reading habits.
Instructions
Get one pre-aggregated chart of the signed-in user's personal reading activity (derived from reading sessions + progress; for library-wide analytics use get_library_statistic). Pick a 'kind':
Activity over time: daily-reading, reading-heatmap, completion-timeline.
When they read: peak-hours (by hour), favorite-days (by weekday), session-timeline (one ISO week), session-archetypes.
Pace & finishing: reading-pace, completion-latency, completion-race, reading-survival, progress-funnel, goal-trajectory.
Breakdowns: genre-reading-time, author-genre-chord, reading-source-distribution. Optionally restrict to libraryIds. 'days' is a trailing look-back window (ignored by session-timeline). Per-kind extras: year/week (session-timeline), comparePrevious (progress-funnel), goalBooks (goal-trajectory).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Trailing look-back window in days. Per-kind default; ignored by session-timeline. | |
| kind | Yes | Which reading statistic to fetch. | |
| week | No | Only for session-timeline: ISO week number. Default current. | |
| year | No | Only for session-timeline: ISO week-year. Default current. | |
| goalBooks | No | Only for goal-trajectory: annual books goal. Default 12. | |
| libraryIds | No | Restrict to these library ids (default: all visible). | |
| comparePrevious | No | Only for progress-funnel: also compute the previous window. Default false. |