Get a list of daily sleep summaries reported by the data sources.

Returns a list of sleep summaries
GET https://api.humanapi.co/v1/human/sleeps/summaries

Returns a single sleep summary
GET https://api.humanapi.co/v1/human/sleeps/summaries/{id}

Returns a single sleep summary by date
GET https://api.humanapi.co/v1/human/sleeps/summaries/{YYYY-MM-DD}

Response Properties

Property

Type

Description

id

String

The id of the resource.

userId

String

[deprecated - use humanId]

humanId

String

Unique user identifier

date

Date

The date of the sleep (format: YYYY-MM-DD)

source

String

The id of the originating service

timeAsleep

Number

The time asleep during the segment (in minutes)

timeAwake

Number

The time awake during the segment (in minutes)

updatedAt

Date

The time the measurement was updated on the Human API server

createdAt

Date

The time the measurement was created on the Human API server

Language
Response
Click Try It! to start a request and see the response here!