For AI and voice assistants
"Log a 4 ounce bottle."
An assistant can log for you with your hands full, start and stop a sleep timer, and answer "when did she last eat?"
- Start a log in Baby, then open Family and copy the assistant key under "For your assistant".
- Give the key to your assistant along with llms.txt, or the OpenAPI file.
Anyone with the key can read and add to the log, so keep it in the family. If the family replaces the key, or deletes the log, the old key stops working.
# Log a bottle curl -X POST https://functions.openapps.xyz/apps/381bd6356d4b794ac2a7c1b8/api/events \ -H 'x-household-key: YOUR_ASSISTANT_KEY' \ -H 'content-type: application/json' \ -d '{"type": "bottle", "amount": 4, "unit": "oz", "milk": "formula"}' # She fell asleep: start the sleep timer curl -X POST https://functions.openapps.xyz/apps/381bd6356d4b794ac2a7c1b8/api/timers/start \ -H 'x-household-key: YOUR_ASSISTANT_KEY' \ -H 'content-type: application/json' -d '{"type": "sleep"}' # When did she last eat? Today's totals curl 'https://functions.openapps.xyz/apps/381bd6356d4b794ac2a7c1b8/api/today?units=us' \ -H 'x-household-key: YOUR_ASSISTANT_KEY'