Does HealthKit in iOS 17 provide any APIs related to mood tracking?

Hello,

The new mental health features in iOS 17 allow users to log their momentary emotions and daily moods, see valuable insights, and easily access assessments and resources. Does anyone know if HealthKit in iOS 17 provides an API for accessing these records? Thanks :)

Answered by Gong in 794896022

State of Mind API is available on iOS/watchOS/visionOS beta now.

It appears that this isn't available, even though the "Data Sources & Access" screen for it makes it sound possible. Even just read-only access would be super useful.

It's a bit frustrating that this and the medications data hasn't been opened up to third-party developers. I understand that the medication data is structured in a completely different way to the rest of HealthKit, so there's definitely much more complexity there, but the mood tracking records appear to be simple flat records like everything else.

I've filed FB13069949 about accessing State of Mind data.

Any news on this?

This is really too bad. It makes any analysis or integration with mood tracking unfeasible.. The only viable choice is to not use apples mood tracking, but track it separately in my app.

Any news on that? Seems that still on iOS18b3 those informations are not available, yet.

Accepted Answer

State of Mind API is available on iOS/watchOS/visionOS beta now.

Does HealthKit in iOS 17 provide any APIs related to mood tracking?
 
 
Q