Skip to main content
GET
/
v2
/
introspect
/
resources
Introspect Resources
curl --request GET \
  --url https://api.tryvital.io/v2/introspect/resources \
  --header 'x-vital-api-key: <api-key>'
{
  "data": [
    {
      "provider": {
        "fitbit": {
          "activity": {
            "last_attempt": {
              "status": "success",
              "timestamp": "2023-10-24T13:13:27+00:00"
            },
            "newest_data": "2023-10-24T00:00:00+00:00",
            "oldest_data": "2023-06-21T00:00:00+00:00",
            "sent_count": 231
          }
        }
      },
      "user_id": ""
    }
  ]
}

Overview

Diagnose user data unavailability through the User Resources Introspection API. This API offers detailed insights into all provider connections and collected 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.

Authorizations

x-vital-api-key
string
header
required

Query Parameters

user_id
string<uuid> | null
provider
enum<string> | null
Available options:
oura,
fitbit,
garmin,
whoop,
strava,
renpho,
peloton,
wahoo,
zwift,
freestyle_libre,
abbott_libreview,
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,
ultrahuman,
my_fitness_pal_v2,
map_my_fitness,
runkeeper
user_limit
integer
default:50
cursor
string | null
deprecated
next_cursor
string | null

Response

data
SingleUserResourceResponse · object[]
required
next
string | null
required
deprecated
next_cursor
string | null
required