Loki Docs
Tools › Check-ins › Get streaks

Get streaks

get_streaksReads
What it does
Reads only. Changes nothing.
Permission
Check-ins, read checkins:read

What your assistant is told

Current + longest streak for every active habit, honouring each habit's cadence and the user's timezone — their profile zone unless you pass an IANA tz to override it. Use this for motivation ("you're on a 12-day streak") and to spot which habits are slipping.

Parameters

  • tztext, optionalIANA time zone, e.g. "Europe/Bucharest". Omit to use the user's profile zone.