Basal energy (BMR)
get_basal_energyDecrypt Apple Watch basal energy samples to return daily BMR estimates and averages, with coverage details for incomplete days.
Instructions
Decrypt recent basal-energy-burned samples (Apple Watch BMR estimate, kcal).
Watch typically emits hourly samples; unlimited limit + daily aggregation
returns per-day BMR (~1500-2000 kcal for active young adults) + average.
Use owner prefix to filter by person.
READ hours_covered BEFORE QUOTING ANY SINGLE DAY. Basal arrives as one
blob per hour, so a day the Watch spent off the wrist comes back as a
real-looking row that is short in exact proportion β 883 kcal at 12 of
24 hours is half a day of data, NOT a collapsed metabolism. Rows with
incomplete: true are already excluded from average_daily_basal_kcal
(average_over_days is its denominator); if you quote such a day, say
how many hours it covers.
Carries a coverage block: quote coverage.days_covered (distinct days, not
the row count) and coverage.span_days beside any average or trend, and read
coverage.window_satisfied: false as a shorter history than asked, not as a
missing kind. π΄ Before saying how far back someone's data goes, read
coverage.more_available: true means this server can decrypt days OLDER
than first_day that your limit left behind β re-read with a larger
limit, or quote coverage.oldest_available as the real start of their
history. Never report a limit-shaped window as the extent of their data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | ||
| limit | No | ||
| owner | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||