introspect

Introspect Resources

Changed on
get/v2/introspect/resources

Request

  • Base URL
    https://api.us.junction.com
  • URL
    https://api.us.junction.com/v2/introspect/resources
  • Auth
    API key in header x-vital-api-key

Query parameters

user_idstring uuid nullable

Filter by user ID.

provider'oura' | 'fitbit' | 'garmin' | 'whoop' | 'strava' | 'renpho' | 'peloton' | 'wahoo' | 'zwift' | 'freestyle_libre' | 'abbott_libreview' | 'tandem_source' | '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' | 'samsung_health' | 'polar' | 'cronometer' | 'kardia' | 'whoop_v2' | 'ultrahuman' | 'my_fitness_pal_v2' | 'map_my_fitness' | 'runkeeper' | 'google_health'

ℹ️ This enum is non-exhaustive.

user_limitinteger
cursorstring nullable
next_cursorstring nullable

The cursor for fetching the next page, or null to fetch the first page.

Response

Successful Response

nextstring nullable required
next_cursorstring nullable required

The cursor for fetching the next page, or null to fetch the first page.

Example response

{
  "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": ""
    }
  ]
}

Changes

    • info

      removed the hypnogram enum value from the //// response property for the response status

    • warning

      added the new result_table enum value to the //// response property for the response status