---
title: HKPredicateKeyPathWorkoutType
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hkpredicatekeypathworkouttype
---

# HKPredicateKeyPathWorkoutType

The key path for accessing the workout’s type.

## Declaration

```swift
let HKPredicateKeyPathWorkoutType: String
```

## See Also

### Specifying predicate key paths

- [HKPredicateKeyPathWorkoutDuration](healthkit/hkpredicatekeypathworkoutduration.md)
- [HKPredicateKeyPathWorkoutTotalDistance](healthkit/hkpredicatekeypathworkouttotaldistance.md)
- [HKPredicateKeyPathWorkoutTotalEnergyBurned](healthkit/hkpredicatekeypathworkouttotalenergyburned.md)
- [HKPredicateKeyPathWorkoutAverageQuantity](healthkit/hkpredicatekeypathworkoutaveragequantity.md)
- [HKPredicateKeyPathWorkoutMaximumQuantity](healthkit/hkpredicatekeypathworkoutmaximumquantity.md)
- [HKPredicateKeyPathWorkoutMinimumQuantity](healthkit/hkpredicatekeypathworkoutminimumquantity.md)
- [HKPredicateKeyPathWorkoutSumQuantity](healthkit/hkpredicatekeypathworkoutsumquantity.md)
