Coding

Top projects

GET https://api.rewind.rest/v1/coding/projects

Per-project coding time (WakaTime durations) with a matching GitHub commit count (commits whose repo ends with /{project}). When a date/from/to filter is given, both the coding time and the commit count are scoped to that window (commits by committed_at). Supports limit (default 10, max 50).

Authorization

Authorizationheaderstringrequired

API key. Read keys (rw_live_...) access GET endpoints. Admin keys (rw_admin_...) access all endpoints.

Query Parameters

limitqueryinteger
datequerystring

Single day (YYYY-MM-DD). Overrides from/to.

fromquerystring

Range start, inclusive (ISO 8601)

toquerystring

Range end, inclusive (ISO 8601)

Response

application/json

Top projects

dataarray of objectrequired