Rewards (admin analytics)

Logging before vs since launch, with a daily series and the current streak spread

Changed on
get/api/rewards/admin/analytics/engagement

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

fromstring

First local day, inclusive (YYYY-MM-DD). Defaults to the launch day.

tostring

Last local day, inclusive (YYYY-MM-DD). Defaults to today.

timezonestring

IANA zone the days are read in. Defaults to America/New_York.

launchFromstring

Rewards launch day (YYYY-MM-DD). Defaults to the day the first points were earned.

includeStaffboolean

Count coaches, PCs, admins and internal/tester accounts too.

weeksnumber

Weeks before launch to compare against.

Changes