Multiple Daily Readiness Documents
GET
/v2/usercollection/daily_readiness
curl --location --request GET 'https://api.ouraring.com/v2/usercollection/daily_readiness?start_date=2021-11-01&end_date=2021-12-01&fields=day,score' \--header 'Authorization: Bearer <token>'import requestsurl = 'https://api.ouraring.com/v2/usercollection/daily_readiness'params={ 'start_date': '2021-11-01', 'end_date': '2021-12-01', 'fields': 'day,score'}headers = { 'Authorization': 'Bearer <token>'}response = requests.request('GET', url, headers=headers, params=params)print(response.text)var myHeaders = new Headers();myHeaders.append('Authorization', 'Bearer <token>');var requestOptions = { method: 'GET', headers: myHeaders,};fetch('https://api.ouraring.com/v2/usercollection/daily_readiness?start_date=2021-11-01&end_date=2021-12-01&fields=day,score', requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error));OkHttpClient client = new OkHttpClient().newBuilder() .build();Request request = new Request.Builder() .url("https://api.ouraring.com/v2/usercollection/daily_readiness?start_date=2021-11-01&end_date=2021-12-01&fields=day,score") .method("GET", null) .addHeader("Authorization", "Bearer <token>") .build();Response response = client.newCall(request).execute();Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
MultiDocumentResponse[PublicDailyReadiness]
object
data
required
Data
Array<object>
PublicDailyReadinessPublic object defining daily readiness.
object
id
required
Unique identifier of the object.
string
contributors
required
Contributors of the daily readiness score.
object
day
required
Day that the daily readiness belongs to.
string
timestamp
required
Timestamp of the daily readiness.
string
Examplegenerated
{ "data": [ { "id": "example", "contributors": { "activity_balance": 1, "body_temperature": 1, "hrv_balance": 1, "previous_day_activity": 1, "previous_night": 1, "recovery_index": 1, "resting_heart_rate": 1, "sleep_balance": 1, "sleep_regularity": 1 }, "day": "example", "score": 1, "temperature_deviation": 1, "temperature_trend_deviation": 1, "timestamp": "example" } ], "next_token": "example"}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>
ValidationErrorobject
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.