> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/help-center/help-topics/data-api-sdk/provider-coverage-and-per-provider-data-availability/apple-detailed-workout-data-available.md).

# Can I get detailed Apple workout routes, HR zones, laps?

Detailed Apple workout data is available wherever it also exists in Apple Health.

**Detailed Apple workout data is available wherever it also exists in Apple Health.** Specifically:

* Full GPS routes come through as `position_samples` (not just start/end).
* Laps come through under `lap_data`. See below for how Apple laps are built.
* Granular heart rate comes through as `hr_samples`, from which you compute heart rate zones.

The samples arrays are point-by-point, not aggregated.

## Why are my Apple laps 1 km splits that don't match the watch?

**If the user didn't mark segments on the watch, Apple Health laps for workouts other than swims are fixed distance splits**: 1 km, or 1 mile when the phone uses US or UK units. Segments the user marks during the workout are kept as laps. The steps of a structured workout aren't read as laps.

For pace, use each lap's `active_duration_seconds`, not `end_time` minus `start_time`, which includes pauses. From iOS SDK 1.9.3 (terra-react 1.9.15), `active_duration_seconds` is moving time with the pauses inside that lap removed. Workouts recorded before the upgrade don't change.
