Open Wearables Release 0.2: Sleep, Workouts, Timeseries
Key takeaways
- Three new endpoints: Timeseries (59 data types), Workouts, and Sleep.
- 870 tests, 80% code coverage across 5,129 lines. Test suite runs in 26 seconds.
- AI agent configuration rules added for Cursor, Copilot, and similar tools.
Open Wearables 0.2 is available on GitHub.
New endpoints
Timeseries handles 59 data types: heart rate variability, blood oxygen, stress, and more. The full list is in the documentation. Use make init to seed realistic data locally before connecting real devices.
Workouts cover duration, calories, GPS tracks, cadence, and power zones.
Sleep provides the full breakdown: REM cycles, sleep efficiency, time in bed vs. actual sleep time. The data structure matches what Apple Health and Garmin export.
Test coverage
870 tests with 80% code coverage across 5,129 lines of code. The suite runs in 26 seconds, making it practical for development workflows. All endpoints are covered.
AI agent configuration
Universal configuration rules for AI coding agents (Cursor, Copilot, etc.) are now included in the repo. Drop them into your project to give your coding assistant accurate context about Open Wearables API structure.
What's next
0.2.1 adds Whoop as the fourth provider and SDK user-scoped authentication for mobile apps.
Want to see it in action? Book a demo