Tool to retrieve an insight for a user over a time range. Use when analyzing user coding metrics after authentication.
userRequiredstringUser identifier path segment; use 'current' for the authenticated user or specify a user ID
rangeRequiredstringTime range for the insight; either a year (YYYY), a month (YYYY-MM), or one of: last_7_days, last_30_days, last_6_months, last_year, all_time
timeoutintegerKeystroke timeout in seconds for stats; defaults to the user's setting
weekdayFilter to a specific weekday; only applied when insight_type is 'days'; Accepts 0–6 or weekday name
writes_onlybooleanWhether to include only write events in stats; defaults to the user's setting
insight_typeRequiredstringType of insight to retrieve
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.