---
title: "earliestAuthorizedSampleDate(for:)"
framework: HealthKit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: "healthkit/hkhealthstore/earliestauthorizedsampledate(for:)"
---

# earliestAuthorizedSampleDate(for:)

## Declaration

```swift
func earliestAuthorizedSampleDate(for types: Set<HKObjectType>) async throws -> [HKObjectType : Date]
```
