GET /v1/stats to pull your study progress data. The endpoint returns completion metrics, your current streak, total minutes studied, and a per-day heatmap that powers the activity grid in the app.
Endpoint
Query Parameters
The time window to aggregate stats over. Accepted values:
today, week, month, all.Response Fields
Total number of scheduled study blocks in the requested period.
Number of blocks that have been marked as completed within the period.
Ratio of completed blocks to total blocks, expressed as a decimal between
0 and 1.Your current consecutive-day completion streak. Resets if you miss a day entirely.
Total study time accumulated across all completed blocks in the period, in minutes.
A map of calendar dates to integer completion counts. Keys are ISO 8601 dates in
YYYY-MM-DD format; values are the number of blocks completed on that day.Example Response
Code Examples
The
heatmap object only includes dates that have at least one completed block. Days with zero completions are omitted from the map entirely.