introspect

Introspect Historical Pulls

Changed on
get/v2/introspect/historical_pull

Request

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

Query parameters

user_idstring uuid nullable

Filter by user ID.

'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.

OR
'ayumetrix' | 'spiriplex' | 'ussl' | 'quest' | 'sonora_quest' | 'labcorp' | 'bioreference' | 'us_biotek' | 'manual' | 'sanocardio' | 'ihd' | 'nexus' | 'my_uti' | 'crl' | 'mtl'

ℹ️ 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": {
          "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 hypnogram enum value from the ///// response property for the response status

    • 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

    • warning

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