---
title: metadata
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkworkoutbuilder/metadata
---

# metadata

The metadata the builder saves with the workout.

## Declaration

```swift
var metadata: [String : Any] { get }
```

## See Also

### Adding metadata to the workout

- [addMetadata(_:completion:)](healthkit/hkworkoutbuilder/addmetadata(_:completion:).md)
