Stats
Get total coding time
Returns the total coding time for all users, optionally filtered by user or date range. Requires an active Admin API Key supplied via the Bearer header. Admin API Keys are never accepted in the api_key query param. During migration, STATS_API_KEY is accepted via the Bearer header or api_key query param only when the allow_legacy_stats_api_key Flipper flag is enabled. 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