GoalTarget

type decides which fields apply:

  • reach_value: metric moves to value (e.g. weight 75 kg)
  • stay_in_range: metric held between min and max
  • frequency: event happens times per period (e.g. 3 workouts a week)
  • daily_threshold: metric meets value each day in direction (e.g. at least 8000 steps)
  • habit: manual check-in times per period
  • values
    reach_valuestay_in_rangefrequencydaily_thresholdhabit
  • values
    increasedecreaseat_leastat_mostnull
  • values
    dayweekmonthnull
  • Integer numbers.

Partner API 0.1.0-draft.3 · Draft contract · Sandbox and SDK availability require confirmation.