v23

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-0127977.1 KB
Stats

Get total coding time

Returns the total coding time for all users, optionally filtered by user or date range. Authenticated with the shared STATS_API_KEY token (Bearer header or api_key query param) — not tied to any user or admin level. Authentication is skipped entirely in development.

get/api/v1/stats

Query parameters

start_datestring date

Start date (YYYY-MM-DD), defaults to 10 years ago

end_datestring date

End date (YYYY-MM-DD), defaults to today

usernamestring

Filter by username (optional)

user_emailstring

Filter by user email (optional)

Response

successful