Profile

Child profile and family settings

Name, date of birth, computed age, region, units, timezone and member count.

get/api/vega/profile

Request

  • Base URL: https://getmyluna.app
  • URL: https://getmyluna.app/api/vega/profile
  • Auth: one of:
    • HTTP bearer
    • API key in cookie luna_session

Response

Success

baby_namestring required
dobstring required

YYYY-MM-DD, or empty while the family is expecting (see due_date).

genderstring
family_namestring
timezonestring

IANA zone.

region'uk' | 'us'
units'metric' | 'imperial'
age_monthsnumber nullable
age_displaystring nullable
solids_startedboolean
member_countinteger
age_band_targetsobject
due_datestring nullable

YYYY-MM-DD while expecting; null once the date of birth is set.

Example response

{
  "expecting": {
    "due_date": "2027-03-12"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.