List insights by type and range
documentedList coding insights for a user by type and time range.
GET /api/v1/users/{user}/insights/{insight_type}/{range}Usersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.wakatime.com/api/v1/users/{{$user}}/insights/{{$insight_type}}/{{$range}}?timeout={{timeout}}&writes_only={{writes_only}}" \
-X GET \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json"