Loki Docs
Tools › Targets › Get the maintenance estimate

Get the maintenance estimate

get_maintenanceReads
What it does
Reads only. Changes nothing.
Permission
Targets, read targets:read

What your assistant is told

The maintenance estimate in force on a date — today unless date says otherwise. Returns null if none has ever been set, which is the normal state for a new user: estimate one from their weight trend and intake rather than treating the absence as an error.

Parameters

  • datetext, optionalLocal date, yyyy-MM-dd. Defaults to today.