Coach

Get coach dashboard statistics

get/api/coach/dashboard-stats

Request

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

Headers

x-timezonestring required

Response

unknown required

Example response

{
  "success": true,
  "totalClients": 15,
  "activeToday": 8,
  "avgCalories": 1350,
  "loggedTodayPercent": 53,
  "streakLeaders": [
    {
      "name": "Jane Doe",
      "streak": 14
    },
    {
      "name": "John Smith",
      "streak": 9
    }
  ]
}

Changes

No recorded changes to this operation across all 34 revisions of this API.