---
title: HKPredicateKeyPathWorkoutActivityType
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hkpredicatekeypathworkoutactivitytype
---

# HKPredicateKeyPathWorkoutActivityType

The key path for accessing activities that match a workout activity type.

## Declaration

```swift
let HKPredicateKeyPathWorkoutActivityType: String
```

## See Also

### Specifying predicate key paths

- [HKPredicateKeyPathWorkoutActivity](healthkit/hkpredicatekeypathworkoutactivity.md)
- [HKPredicateKeyPathWorkoutActivityStartDate](healthkit/hkpredicatekeypathworkoutactivitystartdate.md)
- [HKPredicateKeyPathWorkoutActivityEndDate](healthkit/hkpredicatekeypathworkoutactivityenddate.md)
- [HKPredicateKeyPathWorkoutActivityDuration](healthkit/hkpredicatekeypathworkoutactivityduration.md)
- [HKPredicateKeyPathWorkoutActivityAverageQuantity](healthkit/hkpredicatekeypathworkoutactivityaveragequantity.md)
- [HKPredicateKeyPathWorkoutActivityMaximumQuantity](healthkit/hkpredicatekeypathworkoutactivitymaximumquantity.md)
- [HKPredicateKeyPathWorkoutActivityMinimumQuantity](healthkit/hkpredicatekeypathworkoutactivityminimumquantity.md)
- [HKPredicateKeyPathWorkoutActivitySumQuantity](healthkit/hkpredicatekeypathworkoutactivitysumquantity.md)
