Retrieve sleep schedule bedtime and wake up times

Is it possible to retrieve the sleep schedule wakeup and bedtime times using HealthKit? I can retrieve sleep analysis values, but I don't want the detailed data just the wake up and bedtime times the user has possibly specified in the health app, I can't see any way to retrieve those values.

Thanks.

No that's available through HealthKit. You can set up shortcuts that trigger at bedtime/wakeup/etc however.

Retrieve sleep schedule bedtime and wake up times
 
 
Q