Skip to content
AF
Google Health API reference

Irregular Rhythm Notification: the Google Health API irregular-rhythm-notification data type

Read from Google’s documentation on 2026-10-17 · discovery document revision 20261014 · Google’s data-types page last updated 2026-10-06

Irregular Rhythm Notification (irregular-rhythm-notification) is a Session data type in the Google Health API. Google's data-types table lists list for it under the .irn.readonly scope. The table marks it with neither webhook nor true-zeros support. Google's Fitbit migration table maps the Fitbit Web API's Irregular Rhythm Notifications (IRN) data to it.

Irregular Rhythm Notification at a glance

From the Irregular Rhythm Notification row of Google’s data-types table, joined to the discovery document’s DataPoint schema.

Display name
Irregular Rhythm Notification
dataType (in endpoint URLs)
irregular-rhythm-notification
filter parameter
irregular_rhythm_notificationGoogle: “The identifier separated by underscores (for example, active_minutes) used as the value for the dataType filter parameter in daily rollup and rollup requests.”
Record type
Session — Google: “Represents a continuous block of recording, such as a workout or an electrocardiogram (ECG) session.”
Storage resolution
not stated in Google’s table
Webhook support
Not marked in Google’s table
True zeros support
Not marked in Google’s table
Channel
v4
DataPoint field
DataPoint.irregularRhythmNotification → IrregularRhythmNotificationIts description: “Optional. Data for points in the irregular-rhythm-notification session data type collection.”
Compatible devices
0 in Google’s table

Operations and request paths

The operations Google’s table lists for irregular-rhythm-notification, each matched to its users.dataTypes.dataPoints method in the discovery document. The path is the documented path template (the method’s flatPath on https://health.googleapis.com/) with {dataTypesId} filled in as irregular-rhythm-notification. Google on {user}: “The {user} can be either the alias me or the authenticated user's numeric Health User ID (retrieved via GetIdentity).”

Table listsMethodDocumented path template
listlistGET https://health.googleapis.com/v4/users/{usersId}/dataTypes/irregular-rhythm-notification/dataPoints

Every method, and how many of the data types list it: the methods overview.

Scopes

The scopes Google’s table lists for irregular-rhythm-notification, as full URLs, with the consent text Google’s Scopes page gives each. Every Google Health API scope.

ScopeAccessGoogle’s permission text
https://www.googleapis.com/auth/googlehealth.irn.readonlyreadSee your Google Health Irregular Rhythm Notifications data.

Fields of Irregular Rhythm Notification

The schema the discovery document gives DataPoint.irregularRhythmNotification, required fields first. Types are as the discovery document states them; the label is the word Google’s description opens with. The schemas its fields refer to follow, one level deep.

IrregularRhythmNotification — Google: “Represents an Irregular Rhythm Notification alert, indicating a potential sign of atrial fibrillation (AFib). This data type is based on SaMD feature and any changes to it may require additional review.”

FieldTypeGoogle’s description
intervalRequiredSessionTimeIntervalRequired. Observed interval.
alertWindowsOptionalarray<AlertWindow>Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
medicalDeviceInfoOutput onlyMedicalDeviceInfoOutput only. The meta information for the compatible device used to conduct the measurement. Irregular Rhythm Notification measurements typically populate algorithm_version, service_version, and device_model.

SessionTimeInterval

Google: “Represents a time interval of session data point, which bundles multiple observed metrics together.”

FieldTypeGoogle’s description
endTimeRequiredstring/google-datetimeRequired. The end time of the observed session.
endUtcOffsetRequiredstring/google-durationRequired. The offset of the user's local time at the end of the session relative to the Coordinated Universal Time (UTC).
startTimeRequiredstring/google-datetimeRequired. The start time of the observed session.
startUtcOffsetRequiredstring/google-durationRequired. The offset of the user's local time at the start of the session relative to the Coordinated Universal Time (UTC).
civilEndTimeOutput onlyCivilDateTimeOutput only. Session end time in civil time in the timezone the subject is in at the end of the session.
civilStartTimeOutput onlyCivilDateTimeOutput only. Session start time in civil time in the timezone the subject is in at the start of the session.

AlertWindow

Google: “An analysis window evaluated for AFib. Note: The current version of the algorithm will only produce alerts if all windows are positive. So anything returned from the API will always have the positive bit set to true. Internally, windows can be negative, however. We never save "inconclusive" windows (they aren't produced by the algorithm).”

FieldTypeGoogle’s description
endTimeRequiredstring/google-datetimeRequired. The end time of the analysis window.
endUtcOffsetRequiredstring/google-durationRequired. The UTC offset of the user's timezone when the analysis window ended.
startTimeRequiredstring/google-datetimeRequired. Observed interval. The start time of the analysis window.
startUtcOffsetRequiredstring/google-durationRequired. The UTC offset of the user's timezone when the analysis window started.
civilEndTimeOutput onlyCivilDateTimeOutput only. Observed interval end time in civil time in the timezone the subject is in at the end of the observed interval
civilStartTimeOutput onlyCivilDateTimeOutput only. Observed interval start time in civil time in the timezone the subject is in at the start of the observed interval
heartBeatsOptionalarray<HeartBeat>Optional. All heart beats in the interval contained in this analysis window.
positiveOptionalbooleanOptional. Flag indicating whether the window was positive for AFib or not. A true value indicates that AFib was detected in this window. A false value means AFib was not detected, but does not guarantee the absence of AFib.

MedicalDeviceInfo

Google: “Software as Medical Device (SaMD) metadata. Used to construct the Unique Device Identifier (UDI).”

FieldTypeGoogle’s description
algorithmVersionOutput onlystringOutput only. The algorithm version used by the feature.
deviceModelOutput onlystringOutput only. The model name or device type of the compatible device used to collect the data.
featureVersionOutput onlystringOutput only. The version of the feature/app running on the device.
firmwareVersionOutput onlystringOutput only. The firmware version running on the compatible device used to collect the data.
serviceVersionOutput onlystringOutput only. The service version used by the feature.

Fitbit Web API predecessor

Google’s Fitbit Web API → Google Health API data-type table maps Irregular Rhythm Notifications (IRN) to irregular-rhythm-notification.

Fitbit Web API scopes Google maps to irregular-rhythm-notification’s scopes: irregular_rhythm_notifications.

Google’s full Fitbit Web API mapping tables · the migration playbook

Google’s documentation

Related on this site

Questions

Which OAuth scopes does the Google Health API irregular-rhythm-notification data type need?

Google's data-types table (read 2026-10-17) lists https://www.googleapis.com/auth/googlehealth.irn.readonly for irregular-rhythm-notification. The Scopes page's consent text: .irn.readonly, "See your Google Health Irregular Rhythm Notifications data."

Can apps write irregular rhythm notification data to the Google Health API?

Not according to Google's data-types table, read 2026-10-17: it lists only list for irregular-rhythm-notification, and no create, update or batchDelete operation.

How do you aggregate irregular-rhythm-notification data with the Google Health API?

Not with rollUp or dailyRollUp, going by Google's data-types table: it lists only list for irregular-rhythm-notification. Read the data points with list (or reconcile, where listed) and compute any summary yourself.

What did the Google Health API irregular-rhythm-notification data type replace in the Fitbit Web API?

Google's Fitbit Web API migration table maps the Fitbit Web API's "Irregular Rhythm Notifications (IRN)" to irregular-rhythm-notification. The Fitbit Web API scope Google maps to its scopes: irregular_rhythm_notifications.

Sources checked

Google’s text is quoted for identification; each guide page’s footer reads: “Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.”. Generated from Google’s pages by scripts/fetch-google-health-api.mjs, not typed by hand; Google’s documentation remains the authority.

← All Google Health API data types