Returns comprehensive body metrics with semantic grouping.
Response is organized into three categories:
average_period parameter (1-7 days).latest_window_hours (default 4 hours).Returns null if no body data exists for the user.
The access token received from the authorization server in the OAuth 2.0 flow.
Days to average vitals (1-7)
1 <= x <= 7Hours for latest readings to be considered valid (1-24)
1 <= x <= 24Successful Response
Comprehensive body metrics with semantic grouping.
Metrics are grouped by their temporal characteristics:
Slow-changing body composition metrics.
These are metrics that change infrequently (days/weeks between measurements). Returns the most recent recorded value for each field.
Vitals averaged over a configurable time period.
These metrics fluctuate daily and are more meaningful as averages. Period can be 1 day (current state) or 7 days (baseline trend).
Point-in-time metrics that are only relevant when recent.
These metrics are only returned if measured within a configurable time window. Stale readings return null to avoid displaying outdated data.