Skip to content

Multiple Daily Resilience Documents

GET
/v2/usercollection/daily_resilience
curl --location --request GET 'https://api.ouraring.com/v2/usercollection/daily_resilience?start_date=2021-11-01&end_date=2021-12-01' \
--header 'Authorization: Bearer <token>'
start_date
Start Date
string format: date
end_date
End Date
string format: date
next_token
Any of:
string
fields
Any of:
string

N/A. This route does not support field selection yet, all fields will be returned.

Successful Response

Media typeapplication/json
MultiDocumentResponse[DailyResilienceModel]
object
data
required
Data
Array<object>
DailyResilienceModel
object
id
required
Id
string
day
required
Day

Day when the resilience record was recorded.

string format: date
contributors
required
ResilienceContributors

Contributors to the resilience score.

object
sleep_recovery
required
Sleep Recovery

Sleep recovery contributor to the resilience score. Range: [0, 100]

number
daytime_recovery
required
Daytime Recovery

Daytime recovery contributor to the resilience score. Range: [0, 100]

number
stress
required
Stress

Stress contributor to the resilience score. Range: [0, 100]

number
level
required
LongTermResilienceLevel

Resilience level.

string
Allowed values: limited adequate solid strong exceptional
next_token
required
Any of:
string
Example
{
"data": [
{
"level": "limited"
}
]
}

Client Exception

Unauthorized access exception. Usually means the access token is expired, malformed or revoked.

Access forbidden. Usually means the user’s subscription to Oura has expired and their data is not available via the API.

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}

Request Rate Limit Exceeded.