Overview
Providers allow you to connect your wearable devices and health platforms to Mirobody Health. Once connected, your health data is automatically synced and available for AI analysis.Garmin Connect
Comprehensive fitness and health tracking
Whoop
Recovery, strain, and sleep optimization
More providers are coming soon. You can also add custom providers yourself!
Connecting a Provider
1
Get your device credentials
Obtain API credentials from your health device provider:
- Garmin: Register at Garmin Developer Portal
- Whoop: Contact Whoop Developer Support for API access
2
Configure the provider
Add your credentials to
config.yaml:config.yaml
3
Link your account
Use the API to initiate OAuth flow:Visit the returned URL to authorize access.
4
Verify connection
Check that your provider is linked:
Your connected provider should show
"status": "connected"Available Providers
Garmin Connect
- Overview
- Supported Metrics
- Setup
Authentication: OAuth 1.0
Status: Production Ready
Data Sync: Automatic daily syncGarmin Connect provides comprehensive health data from Garmin wearables, including fitness trackers, smartwatches, and cycling computers.
Status: Production Ready
Data Sync: Automatic daily syncGarmin Connect provides comprehensive health data from Garmin wearables, including fitness trackers, smartwatches, and cycling computers.
Garmin data includes detailed activity tracking, advanced sleep analysis, and comprehensive heart rate metrics.
Whoop
- Overview
- Supported Metrics
- Setup
Authentication: OAuth 2.0
Status: Production Ready
Data Sync: Automatic sync with configurable frequencyWhoop specializes in recovery, strain, and sleep optimization data, providing insights into training readiness and performance.
Status: Production Ready
Data Sync: Automatic sync with configurable frequencyWhoop specializes in recovery, strain, and sleep optimization data, providing insights into training readiness and performance.
Whoop excels in recovery metrics, sleep coaching, and strain tracking for athletes and fitness enthusiasts.
Managing Connected Providers
List All Providers
Disconnect a Provider
Data Synchronization
Once a provider is connected, data synchronization happens automatically:Initial Sync
Initial Sync
When you first connect a provider, Mirobody Health pulls historical data:
- Garmin: Last 30 days of data
- Whoop: Last 30 days of data
Ongoing Sync
Ongoing Sync
After initial sync, data is updated automatically:
- Schedule: Daily at configured intervals
- Incremental: Only new data is fetched
- Deduplication: Prevents duplicate records
Data Format
Data Format
All provider data is transformed into standardized indicators:
- Consistent naming across providers
- Unified units (SI system)
- Timestamps in ISO 8601 format
- Stored in
theta_ai.th_series_datatable
Troubleshooting
Connection fails
Connection fails
Problem: OAuth authorization fails or times outSolutions:
- Verify API credentials are correct in
config.yaml - Check redirect URL matches exactly (including http/https)
- Ensure Mirobody Health is accessible at the redirect URL
- Review provider’s developer console for errors
- Check OAuth token hasn’t expired
No data after connecting
No data after connecting
Problem: Provider connected but no data appearsSolutions:
- Wait for initial sync to complete (check logs)
- Verify user has data in their provider account
- Check for API rate limiting issues
- Review sync logs for errors
- Trigger manual sync if needed
Data out of sync
Data out of sync
Problem: Health data is outdatedSolutions:
- Check sync schedule in configuration
- Verify provider API is accessible
- Review sync logs for failures
- Check for provider API changes or downtime
- Trigger manual resync