Skip to content
AF
Google Health API reference

Daily Sleep Temperature Derivations: the Google Health API daily-sleep-temperature-derivations 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

Daily Sleep Temperature Derivations (daily-sleep-temperature-derivations) is a Daily data type in the Google Health API. Google's data-types table lists list and reconcile for it under the .health_metrics_and_measurements.readonly and .health_metrics_and_measurements.writeonly scopes. The table marks it with webhook support. Google's Fitbit migration table maps the Fitbit Web API's Skin temperature data to it.

Daily Sleep Temperature Derivations at a glance

From the Daily Sleep Temperature Derivations row of Google’s data-types table, joined to the discovery document’s DataPoint schema.

Display name
Daily Sleep Temperature Derivations
dataType (in endpoint URLs)
daily-sleep-temperature-derivations
filter parameter
daily_sleep_temperature_derivationsGoogle: “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
Daily — Google: “Represents measurements aggregated or recorded on a daily basis.”
Storage resolution
not stated in Google’s table
Webhook support
Yes · automatic-subscription token WEBHOOK_DATA_TYPE_DAILY_SLEEP_TEMPERATURE_DERIVATIONS
True zeros support
Not marked in Google’s table
Channel
v4
DataPoint field
DataPoint.dailySleepTemperatureDerivations → DailySleepTemperatureDerivationsIts description: “Optional. Data for points in the daily-sleep-temperature-derivations daily data type collection.”
Compatible devices
18 in Google’s table

Operations and request paths

The operations Google’s table lists for daily-sleep-temperature-derivations, 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 daily-sleep-temperature-derivations. 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/daily-sleep-temperature-derivations/dataPoints
reconcilereconcileGET https://health.googleapis.com/v4/users/{usersId}/dataTypes/daily-sleep-temperature-derivations/dataPoints:reconcile

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

Scopes

The scopes Google’s table lists for daily-sleep-temperature-derivations, 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.health_metrics_and_measurements.readonlyreadSee your Google Health health metrics and measurement data.
https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonlywriteAdd health metric and measurements data to Google Health, and edit or delete the data it adds.

Fields of Daily Sleep Temperature Derivations

The schema the discovery document gives DataPoint.dailySleepTemperatureDerivations, 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.

DailySleepTemperatureDerivations — Google: “Provides derived sleep temperature values, calculated from skin or internal device temperature readings during sleep.”

FieldTypeGoogle’s description
dateRequiredDateRequired. Date for which the sleep temperature derivations are calculated.
nightlyTemperatureCelsiusRequirednumber/doubleRequired. The user's nightly skin temperature. It is the mean of skin temperature samples taken from the user’s sleep.
baselineTemperatureCelsiusOptionalnumber/doubleOptional. The user's baseline skin temperature. It is the median of the user's nightly skin temperature over the past 30 days.
relativeNightlyStddev30dCelsiusOptionalnumber/doubleOptional. The standard deviation of the user’s relative nightly skin temperature (temperature - baseline) over the past 30 days.

Date

Google: “Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp”

FieldTypeGoogle’s description
dayinteger/int32Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
monthinteger/int32Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
yearinteger/int32Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

Fitbit Web API predecessor

Google’s Fitbit Web API → Google Health API data-type table maps Skin temperature to daily-sleep-temperature-derivations.

Fitbit Web API scopes Google maps to daily-sleep-temperature-derivations’s scopes: blood_glucose, heartrate, oxygen_saturation, respiratory_rate, temperature, weight.

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

Compatible devices

The 18 devices Google’s table lists as able to record and sync daily-sleep-temperature-derivations.

  • Fitbit Air
  • Fitbit Charge 4
  • Fitbit Charge 5
  • Fitbit Charge 6
  • Fitbit Inspire 2
  • Fitbit Inspire 3
  • Fitbit Inspire HR
  • Fitbit Ionic
  • Fitbit Luxe
  • Pixel Watch 2
  • Pixel Watch 3
  • Pixel Watch 4
  • Fitbit Sense
  • Fitbit Sense 2
  • Fitbit Versa
  • Fitbit Versa 2
  • Fitbit Versa 3
  • Fitbit Versa 4

Google’s documentation

Related on this site

Questions

Which OAuth scopes does the Google Health API daily-sleep-temperature-derivations data type need?

Google's data-types table (read 2026-10-17) lists https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly and https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonly for daily-sleep-temperature-derivations. The Scopes page's consent text: .health_metrics_and_measurements.readonly, "See your Google Health health metrics and measurement data."; .health_metrics_and_measurements.writeonly, "Add health metric and measurements data to Google Health, and edit or delete the data it adds."

Can apps write daily sleep temperature derivations data to the Google Health API?

Not according to Google's data-types table, read 2026-10-17: it lists only list and reconcile for daily-sleep-temperature-derivations, and no create, update or batchDelete operation.

How do you aggregate daily-sleep-temperature-derivations data with the Google Health API?

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

What did the Google Health API daily-sleep-temperature-derivations data type replace in the Fitbit Web API?

Google's Fitbit Web API migration table maps the Fitbit Web API's "Skin temperature" to daily-sleep-temperature-derivations. The Fitbit Web API scopes Google maps to its scopes: blood_glucose, heartrate, oxygen_saturation, respiratory_rate, temperature and weight.

Other health metrics and measurements data types

All health metrics and measurements data types →

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