ActivityWatch
communityOpen-source automatic time tracker — local-first, privacy-focused activity monitoring
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
https://activitywatch.netNo auth requiredproductivitydeveloperconfidence: 80/1000 discoveries1 contributors
GET
/api/0/buckets/Get data buckets
Returns
buckets{} with id, type, hostname, created, last_updatedGET
/api/0/buckets/{bucket_id}/eventsGet events from bucket
Parameters
endstringoptionallimitintegeroptionalstartstringoptionalbucket_idstringrequiredReturns
events[] with id, timestamp, duration, data{app, title, url}}POST
/api/0/query/Query activity data
Parameters
querystring[]requiredtimeperiodsstring[]requiredReturns
result with queried activity data