Get check-ins in a date range
get_checkins_in_rangeReads- What it does
- Reads only. Changes nothing.
- Permission
- Check-ins, read
checkins:read
What your assistant is told
The raw check-in history between two LOCAL dates (inclusive),
optionally for one habit_id — the data behind a heatmap or a "how
consistent have I been" review. Dates are YYYY-MM-DD in the user's
local calendar; tz defaults to the zone on their profile, so pass an
IANA tz only to override it. Returns one row per check-in with its
habit, local date, and amount.
Parameters
start_datetext, requiredRange start, YYYY-MM-DD (inclusive).end_datetext, requiredRange end, YYYY-MM-DD (inclusive).habit_idid, optionalOptional: restrict to a single habit.tztext, optionalIANA time zone, e.g. "Europe/Bucharest". Omit to use the user's profile zone.