I am currently developing a health platform that utilizes the Garmin Developer APIs to access athlete activity and wellness data. I have successfully implemented the following API endpoints:
- https://apis.garmin.com/wellness-api/rest/userMetrics
- https://apis.garmin.com/wellness-api/rest/activities
- https://apis.garmin.com/wellness-api/rest/activityDetails
I have observed that I can successfully retrieve data for approximately the past 18 days. However, when attempting to fetch older data (up to 180 days), the API returns a 200 status code but with no data in the response.
I would appreciate clarification on the following:
- Is there a default data retention period (e.g., 18 days) for the Wellness API endpoints?
- If such a limitation exists, is there documentation where this is specified?
- Are there any options available to access historical data beyond this period for analysis purposes?, i'm aware with the option of backfill but it's bit uncertain when it's complete and gave back data to server so this is not feasible in production where time and data both matters
I have obtained all necessary user consents and permissions for data access. My goal is to analyze approximately 3 months of historical data for each athlete.
note: Above i mentioned day i've calculated if i start from today(April 14, 2025 i got data till March 30th, 2025) for other like 27th march, 26 .. i've the data but not coming in API response