Activities from other devices not showing in getUserActivityHistory

I want to display the kilometers I ran and cycled in the current week on my watch face. I use the getUserActivityHistory() function to iterate over my activities. However this function only returns activities recorded with my watch and not the activities recorded with my other garmin devices such as my garmin edge gps. However in the History and Last Ride glance on my watch I can see the distance cycled/ran in the current week including data from activties that were recorded with cycling gps (and some metadata about these activities). How can I access this data in my watch face?