Skip to main content
GET
/
api
/
v1
/
users
/
{user_id}
/
summaries
/
data
Get Data Summary
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
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://openwearables.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Open-Wearables-API-Key
string | null

Path Parameters

user_id
string<uuid>
required

Response

Successful Response

Per-user data summary with counts by type and provider.

user_id
string
required
total_data_points
integer
required
total_workouts
integer
required
total_sleep_events
integer
required
series_type_counts
Series Type Counts · object
required
workout_type_counts
Workout Type Counts · object
required
by_provider
ProviderDataCount · object[]
required