oura_get_heart_rate
Retrieve heart rate timeseries from Oura, with samples tagged by source (awake, rest, sleep, workout). Choose summary statistics or raw data for a given time window.
Instructions
Fine-grained heart-rate timeseries (one sample every few minutes).
This is high-volume data, so default to a SHORT window (<= ~2 days) and the 'summary'
format. Oura tags each sample with a source: awake, rest, sleep, workout, etc. —
useful for isolating workout HR or overnight resting HR around hard training days.
summary -> CSV with one row per source: source, samples, min_bpm, avg_bpm, max_bpm,
plus a final 'all' row.
raw -> CSV: timestamp, bpm, source (capped at limit; narrow the window for more).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max raw samples to return when response_format='raw'. | |
| end_datetime | No | ISO 8601 end, e.g. 2026-06-15T00:00:00. Defaults to now. | |
| start_datetime | No | ISO 8601 start, e.g. 2026-06-14T00:00:00. Defaults to 24h before end. | |
| response_format | No | 'summary' = aggregated stats by source (few tokens); 'raw' = capped sample list. | summary |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |