GET
/
v3
/
measurements

Authorizations

Authorization
string
headerrequired

Enter your bearer token in the format Bearer access_token_here

Query Parameters

variableName
string

Name of the variable you want measurements for

sort
string

Sort by one of the listed field names. If the field name is prefixed with -, it will sort in descending order.

limit
integer
default: 100

The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records.

offset
integer

OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned.

Required range: x > 0
variableCategoryName
enum<string>

Ex: Emotions, Treatments, Symptoms...

Available options:
Activities,
Books,
Causes of Illness,
Cognitive Performance,
Conditions,
Emotions,
Environment,
Foods,
Location,
Miscellaneous,
Movies and TV,
Music,
Nutrients,
Payments,
Physical Activity,
Physique,
Sleep,
Social Interactions,
Software,
Symptoms,
Treatments,
Vital Signs,
Goals
updatedAt
string

When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

sourceName
string

ID of the source you want measurements for (supports exact name match only)

connectorName
string

Ex: facebook

value
string

Value of measurement

unitName
enum<string>

Ex: Milligrams

Available options:
% Recommended Daily Allowance,
-4 to 4 Rating,
0 to 1 Rating,
0 to 5 Rating,
1 to 10 Rating,
1 to 5 Rating,
Applications,
Beats per Minute,
Calories,
Capsules,
Centimeters,
Count,
Degrees Celsius,
Degrees East,
Degrees Fahrenheit,
Degrees North,
Dollars,
Drops,
Event,
Feet,
Grams,
Hours,
Inches,
Index,
Kilocalories,
Kilograms,
Kilometers,
Liters,
Meters,
Micrograms,
Micrograms per decilitre,
Miles,
Milligrams,
Milliliters,
Millimeters,
Millimeters Merc,
Milliseconds,
Minutes,
Pascal,
Percent,
Pieces,
Pills,
Pounds,
Puffs,
Seconds,
Serving,
Sprays,
Tablets,
Torr,
Units,
Yes/No,
per Minute,
Doses,
Quarts,
Ounces,
International Units,
Meters per Second
earliestMeasurementTime
string

Excluded records with measurement times earlier than this value. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

latestMeasurementTime
string

Excluded records with measurement times later than this value. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

createdAt
string

When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

id
integer

Measurement id

groupingWidth
integer

The time (in seconds) over which measurements are grouped together

groupingTimezone
string

The time (in seconds) over which measurements are grouped together

doNotProcess
boolean

Ex: true

clientId
string

Your client id can be obtained by creating an app at https://builder.quantimo.do

doNotConvert
boolean

Ex: 1

minMaxFilter
boolean

Ex: 1

Response

200 - application/json
card
object
clientId
string

Ex: curedao

connectorId
integer

Ex: 13

createdAt
string

Ex: 2017-07-30 21:08:36

displayValueAndUnitString
string

Examples: 3/5, $10, or 1 count

iconIcon
string

Ex: ion-sad-outline

id
integer

Ex: 1051466127

inputType
string

Ex: value

ionIcon
string

Ex: ion-ios-medkit-outline

manualTracking
boolean

Ex: 1

maximumAllowedValue
number

Ex: 5. Unit: User-specified or common.

minimumAllowedValue
number

Ex: 1. Unit: User-specified or common.

note
string

Note of measurement

noteObject
object

Additional meta data for the measurement

noteHtml
object

Embeddable HTML with message hyperlinked with associated url

originalUnitId
integer

Ex: 23

originalValue
number

Original value submitted. Unit: Originally submitted.

pngPath
string

Ex: img/variable_categories/treatments.png

pngUrl
string

Ex: https://safe.dfda.earth/img/variable_categories/treatments.png

productUrl
string

Link to associated product for purchase

sourceName
string
required

Application or device used to record the measurement values

startDate
string

Ex: 2014-08-27

startAt
string
required

Start Time for the measurement event in UTC ISO 8601 like 2020-01-01T12:12:12

svgUrl
string

Ex: https://safe.dfda.earth/img/variable_categories/treatments.svg

unitAbbreviatedName
string
required

Abbreviated name for the unit of measurement

unitCategoryId
integer

Ex: 6

unitCategoryName
string

Ex: Miscellany

unitId
integer

Ex: 23

unitName
string

Ex: Count

updatedAt
string

Ex: 2017-07-30 21:08:36

url
string

Link to associated Facebook like or GitHub commit, for instance

userVariableUnitAbbreviatedName
string

Ex: count

userVariableUnitCategoryId
integer

Ex: 6

userVariableUnitCategoryName
string

Ex: Miscellany

userVariableUnitId
integer

Ex: 23

userVariableUnitName
string

Ex: Count

userVariableVariableCategoryId
integer

Ex: 13

userVariableVariableCategoryName
string

Ex: Treatments

valence
string

Valence indicates what type of buttons should be used when recording measurements for this variable. positive - Face buttons with the happiest face equating to a 5/5 rating where higher is better like Overall Mood. negative - Face buttons with the happiest face equating to a 1/5 rating where lower is better like Headache Severity. numeric - Just 1 to 5 numeric buttons for neutral variables.

value
number
required

Converted measurement value in requested unit

variableCategoryId
integer

Ex: 13

variableCategoryImageUrl
string

Ex: https://static.quantimo.do/img/variable_categories/pill-96.png

variableCategoryName
enum<string>

Ex: Emotions, Treatments, Symptoms...

Available options:
Activity,
Books,
Causes of Illness,
Cognitive Performance,
Conditions,
Emotions,
Environment,
Foods,
Goals,
Locations,
Miscellaneous,
Movies and TV,
Music,
Nutrients,
Payments,
Physical Activities,
Physique,
Sleep,
Social Interactions,
Software,
Symptoms,
Treatments,
Vital Signs
variableDescription
string

Valence indicates what type of buttons should be used when recording measurements for this variable. positive - Face buttons with the happiest face equating to a 5/5 rating where higher is better like Overall Mood. negative - Face buttons with the happiest face equating to a 1/5 rating where lower is better like Headache Severity. numeric - Just 1 to 5 numeric buttons for neutral variables.

variableId
integer

Ex: 5956846

variableName
string
required

Name of the variable for which we are creating the measurement records

displayName
string

Ex: Trader Joe Bedtime Tea