Health

Get workout history list

Returns the user's most recent workouts grouped by calendar date, newest date first, with the single most recent workout repeated as last_routine. grouped_workouts is always an array; it is empty (and last_routine is null, total_workouts is 0) when the user has no workouts.

get/api/health/workout-history

Request

  • Base URL
    https://api.hiyd.ai
  • Auth
    HTTP bearer

Query parameters

limitinteger

Maximum number of workouts to return (most recent first)

Response

Workout history retrieved successfully

total_workoutsinteger

Number of workouts returned, 0 when none

Example response

{
  "grouped_workouts": [
    {
      "date": "2026-09-01",
      "date_label": "September 1, 2026"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.