List durations (current user)
documentedReturn durations for a given day for the current user.
GET /api/v1/users/current/durationsHeartbeatsno 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/current/durations?date={{$date}}&project={{$project}}&branches={{$branches}}&timeout={{$timeout}}&writes_only={{$writes_only}}&timezone={{$timezone}}" \
-X GET \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json"