Debugging
Introspect Historical Pulls
GET
/
v2
/
introspect
/
historical_pull
Overview
Diagnose user historical data unavailability through the User Resources Introspection API.
This API offers detailed insights into all provider connections and collected historical resources of all users in your team, empowering you to perform an initial diagnosis of any user connection issue with ease.
Please note that user_limit
is an upper bound and the endpoint can return data for fewer users.
This would be the case if any of the top selected users had no available resource information.
Response Structure
-
data
: An array containing user information, including data from different providers.user_id
: The unique identifier of the user.provider
: Object containing provider-specific data.<provider_slug>
: Provider-specific data structure.pulled
: JSON containing information about pulled resourcesstatus
: Information about the status of historical pull.range_start
: Timestamp of the beginning of the requested rangerange_end
: Timestamp of the end of the requested rangedays_with_data
: Number of days within this range that contained datarelease
: Release version of Vital APItrace_id
: Unique identifier, that would allow a Vital engineer to investigate a potential failed pull
not_pulled
: List of resources that were not pulled
-
next
: A cursor for the next page of results, ornull
if there are no more pages.
Authorizations
x-vital-api-key
string
headerrequiredVital Team API Key
Query Parameters
user_id
string
provider
enum<string>
An enumeration.
Available options:
oura
, fitbit
, garmin
, whoop
, strava
, renpho
, peloton
, wahoo
, zwift
, freestyle_libre
, freestyle_libre_ble
, eight_sleep
, withings
, apple_health_kit
, manual
, ihealth
, google_fit
, beurer_api
, beurer_ble
, omron
, omron_ble
, onetouch_ble
, accuchek_ble
, contour_ble
, dexcom
, dexcom_v3
, hammerhead
, my_fitness_pal
, health_connect
, polar
, cronometer
, kardia
, whoop_v2
user_limit
integer
default: 50cursor
string
Response
200 - application/json
data
object[]
requirednext
string