Insights

Live status

Asleep/awake, hunger state, next feed estimate, last nappy, today's totals and any alert: derived from the log right now. checklist is the Getting started state from the server: first_log, partner_joined, invite_sent, installed.

get/api/vega/live

Request

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

Response

Success

nowstring required
asleepboolean required
night_sleepboolean nullable
awake_minutesinteger nullable
alert_levelstring nullable
alert_msgstring nullable
hungry_statestring nullable

e.g. not_yet, hungry_soon, overdue, dream_feed, unknown.

next_feed_atstring nullable
last_milk_mlinteger nullable
ml_todayinteger nullable
feeds_todayinteger nullable
last_poop_hours_agonumber nullable
poop_statusstring nullable
expected_bedtime_atstring nullable
next_nap_window_atobject nullable
daily_milk_target_mlinteger nullable
supplement_logobject nullable
age_monthsnumber nullable

Null while the family is expecting.

Example response

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

Changes

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