cURL
curl --request GET \ --url https://api.example.com/api/v1/users/{user_id}/summaries/data \ --header 'Authorization: Bearer <token>'
{ "user_id": "<string>", "total_data_points": 123, "total_workouts": 123, "total_sleep_events": 123, "series_type_counts": {}, "workout_type_counts": {}, "by_provider": [ { "provider": "<string>", "data_points": 123, "series_counts": {}, "workout_count": 123, "sleep_count": 123 } ] }
Returns per-user data counts grouped by series type, event type, and provider.
The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
Per-user data summary with counts by type and provider.
Show child attributes
Was this page helpful?