Water intake
get_water_intakeDecrypts recent daily water intake locally and returns per-day liters plus average daily intake. Filter by owner for individual records, with coverage details to show data gaps.
Instructions
Decrypt recent daily water intake locally and compute the average.
Returns one entry per day (newest first) with refill count, container volume, and
derived intake in liters, plus average_daily_intake_liters over the window.
Use owner prefix to filter by person β take it from
vaultbeat_status (owner_user_id_prefix is the paired user; server
0.7.1+), or vaultbeat_doctor for every owner present in the data.
Each record carries owner_user_id to identify whose data it is.
Carries a coverage block: quote coverage.days_covered (distinct days, not
the row count) and coverage.span_days beside any average or trend, and read
coverage.window_satisfied: false as a shorter history than asked, not as a
missing kind. π΄ Before saying how far back someone's data goes, read
coverage.more_available: true means this server can decrypt days OLDER
than first_day that your limit left behind β re-read with a larger
limit, or quote coverage.oldest_available as the real start of their
history. Never report a limit-shaped window as the extent of their data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | ||
| limit | No | ||
| owner | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||