Sign in

List insights by type and range

documented

List coding insights for a user by type and time range.

GET /api/v1/users/{user}/insights/{insight_type}/{range}Usersno implementation yet0 runs
No 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"
List insights by type and range · WakaTime · OpenIntegrations