{
  "client_user_id": "3Zru4O8cBEiwGTsXgUQGaQ==",
  "data": {
    "data": [
      {
        "timestamp": "2023-02-13T14:30:52+00:00",
        "timezone_offset": null,
        "type": "lead_1",
        "unit": "mV",
        "value": -373
      }
    ],
    "provider": {
      "logo": "https://logo_url.com",
      "name": "Oura",
      "slug": "oura"
    },
    "source": {
      "provider": "oura",
      "type": "ring"
    },
    "source_id": 1,
    "user_id": "dea0369f-3d22-485c-a022-706f8f5996d4"
  },
  "event_type": "daily.data.electrocardiogram_voltage.created",
  "team_id": "e89cc9fe-e1c0-41bc-a83a-728b8cb1056f",
  "user_id": "fac593ed-f371-4aea-9210-9332f1b19bec"
}

Each sample is uniquely identified by a triple key (3-tuple) comprising of its resource type name, its source (ID or slug) and its timestamp. e.g., (electrocardiogram_voltage, fitbit, 2023-01-23T12:34:56Z).

If multiple samples are received at the same triple key, the last sample received replaces all its previous versions.

Properties

event_type
const string
required

Constant: daily.data.electrocardiogram_voltage.created

team_id
string
required
user_id
string
required
client_user_id
string
required
data
TimeseriesData
required
data
ClientFacingElectrocardiogramVoltageTimeseries[]
required
id
anyOf | null

Deprecated Any of:

  • integer
  • null
timezone_offset
anyOf | null

Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source. Any of:

  • integer
  • null
type
string | null

The lead of the measurement.

unit
string
required

Measured in mV.

timestamp
string
required

The timestamp of the measurement.

value
number
required

The value of the measurement.

source_id
integer
required
source
ClientFacingSource
required
provider
string
required

Provider slug. e.g., oura, fitbit, garmin.

type
string | null

The type of the data source (app or device) by which the summary or the timeseries data were recorded. This defaults to unknown when Vital cannot extract or infer that information

app_id
anyOf | null

The identifier of the app which recorded this summary. This is only applicable to multi-source providers like Apple Health and Android Health Connect. Any of:

  • string
  • null
name
string
requireddeprecated

Deprecated. Subject to removal after 1 Jan 2024.

slug
string
requireddeprecated

Deprecated. Use provider instead. Subject to removal after 1 Jan 2024.

logo
string
requireddeprecated

Deprecated. Subject to removal after 1 Jan 2024.

provider
ClientFacingProvider
required
name
string
required

Name of source of information

slug
string
required

Slug for designated source

logo
string
required

URL for source logo

user_id
string
required
{
  "client_user_id": "3Zru4O8cBEiwGTsXgUQGaQ==",
  "data": {
    "data": [
      {
        "timestamp": "2023-02-13T14:30:52+00:00",
        "timezone_offset": null,
        "type": "lead_1",
        "unit": "mV",
        "value": -373
      }
    ],
    "provider": {
      "logo": "https://logo_url.com",
      "name": "Oura",
      "slug": "oura"
    },
    "source": {
      "provider": "oura",
      "type": "ring"
    },
    "source_id": 1,
    "user_id": "dea0369f-3d22-485c-a022-706f8f5996d4"
  },
  "event_type": "daily.data.electrocardiogram_voltage.created",
  "team_id": "e89cc9fe-e1c0-41bc-a83a-728b8cb1056f",
  "user_id": "fac593ed-f371-4aea-9210-9332f1b19bec"
}