introspect
Introspect Historical Pulls
Changed onget/v2/introspect/historical_pull
Request
- Base URLhttps://api.us.junction.com
- URLhttps://api.us.junction.com/v2/introspect/historical_pull
- AuthAPI key in header x-vital-api-key
Query parameters
user_idstring uuid nullable
Filter by user ID.
user_limitinteger
cursorstring nullable
next_cursorstring nullable
The cursor for fetching the next page, or null to fetch the first page.
Response
Successful Response
Example response
{
"data": [
{
"provider": {
"fitbit": {
"not_pulled": [
"blood_oxygen"
],
"pulled": {
"activity": {
"days_with_data": 70,
"range_end": "2023-10-24T00:00:00+00:00",
"range_start": "2023-07-24T00:00:00+00:00",
"release": "0.0.0-dev.cd0e262",
"status": "success",
"timeline": {
"ended_at": "2023-10-24T13:53:59+00:00",
"scheduled_at": "2023-10-24T13:52:51+00:00",
"started_at": "2023-10-24T13:52:54+00:00"
},
"trace_id": "51cc7d2d72e98ed4eb63e2b0864b39e3"
},
"sleep": {
"days_with_data": 70,
"error_details": "provider_rate_limit_exceeded",
"range_end": "2023-10-24T00:00:00+00:00",
"range_start": "2023-07-24T00:00:00+00:00",
"release": "0.0.0-dev.cd0e262",
"status": "retrying",
"timeline": {
"ended_at": "2023-10-24T13:53:04+00:00",
"scheduled_at": "2023-10-24T13:52:51+00:00",
"started_at": "2023-10-24T13:53:01+00:00"
},
"trace_id": "51cc7d2d72e98ed4eb63e2b0864b39e3"
}
}
}
},
"user_id": ""
}
],
"next_cursor": "None"
}Changes
- info
removed the
hypnogramenum value from the/////response property for the response status - info
removed the
hypnogramenum value from the/////response property for the response status
- info
- warning
added the new
result_tableenum value to the/////response property for the response status - warning
added the new
result_tableenum value to the/////response property for the response status
- warning