← Back to all apps

Apple Health

by OpenAI

Get a better picture of your overall health and fitness

5ChatGPT Tools
OpenAIDeveloper

Available Tools

Aggregate Timeseries

aggregate_timeseries
Full Description

Aggregate metric(s) values over a time period by time-bucketing (only supports quantity metrics).

Parameters (3 required, 3 optional)
Required
end_timestring

Exclusive end of the aggregation window. Provide a naive datetime in the caller's timezone.

metricsarray

One or more exact HealthKit metric identifiers to aggregate.

start_timestring

Inclusive start of the aggregation window. Provide a naive datetime in the caller's timezone.

Optional
aggstring

Aggregation function to apply, such as `sum` or `avg`.

Default: sum
bucket_minutesinteger

Bucket size in minutes for time bucketing. Use a smaller value for finer granularity.

Default: 5
timezonestring

Optional timezone offset such as `-04:00`. Omit to use the user's local timezone.

Default: null

Fetch Characteristics

fetch_characteristics
Full Description

View the most recent HealthKit characteristics payload for the user.

Parameters (0 required, 1 optional)
Optional
timezonestring

Optional timezone offset such as `-04:00`. Accepted for consistency with other HealthKit actions.

Default: null

Query Samples

query_samples
Full Description

Return raw HealthKit samples for one or more metrics over a time period. Supports all metric types.

Parameters (3 required, 1 optional)
Required
end_timestring

Exclusive end of the sample window. Provide a naive datetime in the caller's timezone.

metricsarray

One or more exact HealthKit metric identifiers to fetch as raw samples.

start_timestring

Inclusive start of the sample window. Provide a naive datetime in the caller's timezone.

Optional
timezonestring

Optional timezone offset such as `-04:00`. Omit to use the user's local timezone.

Default: null

View All Metrics

view_all_metrics
Full Description

View the full list of HealthKit metrics supported by the tool.

Parameters (0 required, 1 optional)
Optional
timezonestring

Optional timezone offset such as `-04:00`. Accepted for consistency with other HealthKit actions.

Default: null

View Synced Metrics

view_synced_metrics
Full Description

View which metrics have data and over what time period.

Parameters (0 required, 1 optional)
Optional
timezonestring

Optional timezone offset such as `-04:00`. Omit to use the user's local timezone.

Default: null