Get Data Timeline
Returns when a user has data, as counts per time bucket.
Buckets are truncated in UTC and only non-empty ones are returned, so the response is sparse: the caller fills the gaps for the window it asked for. Counts cover both the live and the archive table, so archived history does not read as missing data.
Optionally scope to a window via start_date / end_date (by recorded_at); omitting both returns the user's whole history.
Path parameters
Query parameters
ISO 8601 datetime (e.g. 2023-11-07T05:31:56Z) or Unix timestamp in seconds. Date-only strings (e.g. 2023-11-07) are also accepted and cover the whole day, so a date-only range includes both boundary days.
ISO 8601 datetime (e.g. 2023-11-07T05:31:56Z) or Unix timestamp in seconds. Date-only strings (e.g. 2023-11-07) are also accepted and cover the whole day, so a date-only range includes both boundary days.
Width of one bucket in a per-user data timeline.
Bucket width.
What a timeline series is keyed by.
What each series counts.
Supported data providers.
Headers
Response
Successful Response
Changes
Changed in 2 of the 17 revisions of this API.23
- ●
added the new
workout_typeenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
workoutsenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added the new optional
queryrequest parameterprovidernew-optional-request-parameter
- ○
added the new enum value
workout_typeto thequeryrequest parametergroup_byrequest-parameter-enum-value-added
- ●
- ○
endpoint added
endpoint-added
- ○