---
title: "Get Data Summary"
method: GET
path: "/api/v1/users/{user_id}/summaries/data"
tags: ["External: Summaries"]
---

# Get Data Summary

`GET /api/v1/users/{user_id}/summaries/data`

Returns per-user data counts grouped by series type, event type, and provider.

Optionally scope the counts to a date window via `start_date` / `end_date` (data points are
filtered by `recorded_at`, events by their start time). Omitting both returns all-time counts.

## Path parameters

- `user_id` string, uuid, required

## Query parameters

- `start_date` string, date-time, nullable — 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 normalized to midnight UTC.
- `end_date` string, date-time, nullable — 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 normalized to midnight UTC.

## Headers

- `X-Open-Wearables-API-Key` string, nullable

## Response `200`

Successful Response

- UserDataSummaryResponse — 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` object, required
  - `workout_type_counts` object, required
  - `by_provider` ProviderDataCount[], required
    - `provider` string, required
    - `data_points` integer, required
    - `series_counts` object, required
    - `workout_count` integer, required
    - `sleep_count` integer, required
  - `has_womens_health_data` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/openwearables/apis/open-wearables-api.md) · [All operations](https://skmtc.net/openwearables/apis/open-wearables-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openwearables/open-wearables-api/versions/37c1c527cd8f/schema)
