GET
/compat/wakatime/v1/users/{user}/summariesGet WakaTime-compatible summaries
Retrieves WakaTime-compatible summaries for a specified user. Use range or the start and end dates to select a period, and apply project, language, editor, operating system, machine, or label filters to narrow the results.
userstringrequired
User ID to retrieve data for, or `current` for the current user.
rangestringoptional
Interval for the summary. Supported values include today, yesterday, week, month, year, 7_days, last_7_days, 30_days, last_30_days, 6_months, last_6_months, and 12_months.
startstringoptional
Start date for the summary period, for example `2021-02-07`.
endstringoptional
End date for the summary period, for example `2021-02-08`.
projectstringoptional
Filter summaries by project.
languagestringoptional
Filter summaries by language.
editorstringoptional
Filter summaries by editor.
operating_systemstringoptional
Filter summaries by operating system.
machinestringoptional
Filter summaries by machine.
labelstringoptional
Filter summaries by project label.
200Returns summary data including cumulative totals, daily averages, the requested date range, and summary breakdowns such as languages, projects, editors, and operating systems.
cumulative_totalobjectoptional
daily_averageobjectoptional
dataarray<object>optional
endstringoptional
startstringoptional
Error handling
Use user as a user ID or current. range must be a supported interval; the listed values include today, yesterday, week, month, year, 7_days, last_7_days, 30_days, last_30_days, 6_months, last_6_months, and 12_months.