stats_user_breakdown
Returns an account-wide stats summary for the authenticated user: one row per Riddle with its views, starts, submissions and active time, plus the totals across every Riddle in scope. Ranked by sortBy and returned 25 Riddles per page ("hasMore" says whether another page exists). This is intentionally a summary, not a deep breakdown - for a Riddle's blocks, choices and form fields call stats_riddle_breakdown with its ID, and for one project's full breakdown call stats_project_breakdown. On accounts with many projects, narrow the scope with projectIds. Requires a user API key — will fail with project API keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-indexed (default: 1). Zero or negative is rejected with a VALIDATION_ERROR, not clamped to page 1 - the same contract as riddle_list/project_list. | |
| dateTo | No | End date (inclusive), format: YYYY-MM-DD, e.g. "2026-01-31". Optional, defaults to today. | |
| sortBy | No | Metric the Riddles are ranked by before the page is cut: "views" (default), "starts", "submissions" or "timeActive". Sorting always spans the whole account (or the projects given), so page 1 is genuinely the top of the account. | |
| dateFrom | No | Start date (inclusive), format: YYYY-MM-DD, e.g. "2026-01-01". Optional, defaults to 30 days ago. | |
| projectIds | No | Narrow the summary to these project IDs (array of integers, from project_list). Omit to cover the whole account, including the personal project. Passing a project the user cannot view stats of is an error, not a silently skipped project. |