---
title: "Sleep Sample"
method: GET
path: "/profile/{profile_public_id}/sleep_sample/"
tags: ["profile"]
---

# Sleep Sample

`GET /profile/{profile_public_id}/sleep_sample/`

Presents sample data for sleep: hrv, movement, heart_rate and sleep_stages,

## Query parameters

- `cursor` string
- `page_size` integer
- `date_start` string, date-time
- `date_end` string, date-time

## Response `200`

OK

- SleepSample[]
  - `timestamp` string, date-time, required — Starting UTC time of the measurement.
  - `duration` string, nullable — Duration of the measurement.
  - `source` 'AGGREGATED' | 'ANDROID' | 'APPLE' | 'FITBIT' | 'GARMIN' | 'GOOGLE_HEALTH' | 'GOOGLEFIT' | 'HEALTHCONNECT' | 'HUAWEI' | 'MYZONE' | 'OMH' | 'OMRON' | 'OURA' | 'POLAR' | 'SAMSUNG' | 'STRAVA' | 'SUUNTO' | 'WF' | 'WHOOP' | 'WITHINGS', required — Origin of the data.
  - `is_manual` boolean, nullable — Whether the data was entered manually.
  - `interval` integer, nullable — Interval in seconds
  - `data_type` 'HEART_RATE' | 'HRV' | 'MOVEMENT' | 'SLEEP_STAGES', required — Sleep data type
  - `samples` Sample[] — Sample values
    - `value` unknown

---

[API](https://skmtc.net/wefitter/apis/wefitter-api.md) · [All operations](https://skmtc.net/wefitter/apis/wefitter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wefitter/wefitter-api/revisions/52b0eb5e8b96/schema)
