Is it possible to get Workout intervals and data from third party app via HealthKit or WorkoutKit?

If a user selects custom structured workout in the apple watch Workout app and records a run with intervals, how can my third party app pull in that data?

I can obviously get the workout and health stuff like heart rate, but I cannot find how to save the intervals and the relevant data.

The workout events are not seemingly helpful - segments are not obviously related to this.

Is it possible? Is it only possible to have the third party app create a customworkout with metadata and then our third party app parses the interval distance/time based on our own structure?

I think this stuff should be able to be accessed.

Is it possible to get Workout intervals and data from third party app via HealthKit or WorkoutKit?
 
 
Q