Skip to content

Lifetime Stats

OutStudioMixin

Mixin for out-of-studio workout distance metrics.

walking_distance pydantic-field

walking_distance = None

Total walking distance.

running_distance pydantic-field

running_distance = None

Total running distance.

cycling_distance pydantic-field

cycling_distance = None

Total cycling distance.

limit_floats staticmethod

limit_floats(value)

Limit the float values to 2 decimal places.

InStudioMixin

Mixin for in-studio equipment distance and performance metrics.

treadmill_distance pydantic-field

treadmill_distance = None

Total treadmill distance.

treadmill_elevation_gained pydantic-field

treadmill_elevation_gained = None

Total treadmill elevation gained.

rower_distance pydantic-field

rower_distance = None

Total rower distance.

rower_watt pydantic-field

rower_watt = None

Total rower watts.

limit_floats staticmethod

limit_floats(value)

Limit the float values to 2 decimal places.

BaseStatsData pydantic-model

Bases: OtfItemBase

Base workout statistics data shared across all stat categories.

Show JSON schema:
{
  "description": "Base workout statistics data shared across all stat categories.",
  "properties": {
    "calories": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total calories burned.",
      "title": "Calories"
    },
    "splatPoint": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total splat points earned.",
      "title": "Splatpoint"
    },
    "totalBlackZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in gray/black zone.",
      "title": "Totalblackzone"
    },
    "totalBlueZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in blue zone.",
      "title": "Totalbluezone"
    },
    "totalGreenZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in green zone.",
      "title": "Totalgreenzone"
    },
    "totalOrangeZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in orange zone.",
      "title": "Totalorangezone"
    },
    "totalRedZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in red zone.",
      "title": "Totalredzone"
    },
    "workoutDuration": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total workout duration in minutes.",
      "title": "Workoutduration"
    },
    "stepCount": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total step count.",
      "title": "Stepcount"
    }
  },
  "title": "BaseStatsData",
  "type": "object"
}

Fields:

calories pydantic-field

calories = None

Total calories burned.

splat_point pydantic-field

splat_point = None

Total splat points earned.

total_black_zone pydantic-field

total_black_zone = None

Total minutes in gray/black zone.

total_blue_zone pydantic-field

total_blue_zone = None

Total minutes in blue zone.

total_green_zone pydantic-field

total_green_zone = None

Total minutes in green zone.

total_orange_zone pydantic-field

total_orange_zone = None

Total minutes in orange zone.

total_red_zone pydantic-field

total_red_zone = None

Total minutes in red zone.

workout_duration pydantic-field

workout_duration = None

Total workout duration in minutes.

step_count pydantic-field

step_count = None

Total step count.

InStudioStatsData pydantic-model

Bases: InStudioMixin, BaseStatsData

In-studio workout statistics including equipment metrics.

Show JSON schema:
{
  "description": "In-studio workout statistics including equipment metrics.",
  "properties": {
    "calories": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total calories burned.",
      "title": "Calories"
    },
    "splatPoint": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total splat points earned.",
      "title": "Splatpoint"
    },
    "totalBlackZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in gray/black zone.",
      "title": "Totalblackzone"
    },
    "totalBlueZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in blue zone.",
      "title": "Totalbluezone"
    },
    "totalGreenZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in green zone.",
      "title": "Totalgreenzone"
    },
    "totalOrangeZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in orange zone.",
      "title": "Totalorangezone"
    },
    "totalRedZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in red zone.",
      "title": "Totalredzone"
    },
    "workoutDuration": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total workout duration in minutes.",
      "title": "Workoutduration"
    },
    "stepCount": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total step count.",
      "title": "Stepcount"
    },
    "treadmillDistance": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total treadmill distance.",
      "title": "Treadmilldistance"
    },
    "treadmillElevationGained": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total treadmill elevation gained.",
      "title": "Treadmillelevationgained"
    },
    "rowerDistance": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total rower distance.",
      "title": "Rowerdistance"
    },
    "rowerWatt": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total rower watts.",
      "title": "Rowerwatt"
    }
  },
  "title": "InStudioStatsData",
  "type": "object"
}

Fields:

OutStudioStatsData pydantic-model

Bases: OutStudioMixin, BaseStatsData

Out-of-studio workout statistics including distance metrics.

Show JSON schema:
{
  "description": "Out-of-studio workout statistics including distance metrics.",
  "properties": {
    "calories": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total calories burned.",
      "title": "Calories"
    },
    "splatPoint": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total splat points earned.",
      "title": "Splatpoint"
    },
    "totalBlackZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in gray/black zone.",
      "title": "Totalblackzone"
    },
    "totalBlueZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in blue zone.",
      "title": "Totalbluezone"
    },
    "totalGreenZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in green zone.",
      "title": "Totalgreenzone"
    },
    "totalOrangeZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in orange zone.",
      "title": "Totalorangezone"
    },
    "totalRedZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in red zone.",
      "title": "Totalredzone"
    },
    "workoutDuration": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total workout duration in minutes.",
      "title": "Workoutduration"
    },
    "stepCount": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total step count.",
      "title": "Stepcount"
    },
    "walkingDistance": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total walking distance.",
      "title": "Walkingdistance"
    },
    "runningDistance": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total running distance.",
      "title": "Runningdistance"
    },
    "cyclingDistance": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total cycling distance.",
      "title": "Cyclingdistance"
    }
  },
  "title": "OutStudioStatsData",
  "type": "object"
}

Fields:

AllStatsData pydantic-model

Bases: OutStudioMixin, InStudioMixin, BaseStatsData

Combined in-studio and out-of-studio workout statistics.

Show JSON schema:
{
  "description": "Combined in-studio and out-of-studio workout statistics.",
  "properties": {
    "calories": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total calories burned.",
      "title": "Calories"
    },
    "splatPoint": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total splat points earned.",
      "title": "Splatpoint"
    },
    "totalBlackZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in gray/black zone.",
      "title": "Totalblackzone"
    },
    "totalBlueZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in blue zone.",
      "title": "Totalbluezone"
    },
    "totalGreenZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in green zone.",
      "title": "Totalgreenzone"
    },
    "totalOrangeZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in orange zone.",
      "title": "Totalorangezone"
    },
    "totalRedZone": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total minutes in red zone.",
      "title": "Totalredzone"
    },
    "workoutDuration": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total workout duration in minutes.",
      "title": "Workoutduration"
    },
    "stepCount": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total step count.",
      "title": "Stepcount"
    },
    "treadmillDistance": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total treadmill distance.",
      "title": "Treadmilldistance"
    },
    "treadmillElevationGained": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total treadmill elevation gained.",
      "title": "Treadmillelevationgained"
    },
    "rowerDistance": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total rower distance.",
      "title": "Rowerdistance"
    },
    "rowerWatt": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total rower watts.",
      "title": "Rowerwatt"
    },
    "walkingDistance": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total walking distance.",
      "title": "Walkingdistance"
    },
    "runningDistance": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total running distance.",
      "title": "Runningdistance"
    },
    "cyclingDistance": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Total cycling distance.",
      "title": "Cyclingdistance"
    }
  },
  "title": "AllStatsData",
  "type": "object"
}

Fields:

TimeStats pydantic-model

Bases: OtfItemBase, Generic[T]

Workout statistics broken down by time period.

Show JSON schema:
{
  "$defs": {
    "OtfItemBase": {
      "description": "Base model for all OTF API response objects, configured to ignore unknown fields.",
      "properties": {},
      "title": "OtfItemBase",
      "type": "object"
    }
  },
  "description": "Workout statistics broken down by time period.",
  "properties": {
    "lastYear": {
      "allOf": [
        {
          "$ref": "#/$defs/OtfItemBase"
        }
      ],
      "description": "Statistics from the previous year."
    },
    "thisYear": {
      "allOf": [
        {
          "$ref": "#/$defs/OtfItemBase"
        }
      ],
      "description": "Statistics from the current year."
    },
    "lastMonth": {
      "allOf": [
        {
          "$ref": "#/$defs/OtfItemBase"
        }
      ],
      "description": "Statistics from the previous month."
    },
    "thisMonth": {
      "allOf": [
        {
          "$ref": "#/$defs/OtfItemBase"
        }
      ],
      "description": "Statistics from the current month."
    },
    "lastWeek": {
      "allOf": [
        {
          "$ref": "#/$defs/OtfItemBase"
        }
      ],
      "description": "Statistics from the previous week."
    },
    "thisWeek": {
      "allOf": [
        {
          "$ref": "#/$defs/OtfItemBase"
        }
      ],
      "description": "Statistics from the current week."
    },
    "allTime": {
      "allOf": [
        {
          "$ref": "#/$defs/OtfItemBase"
        }
      ],
      "description": "All-time cumulative statistics."
    }
  },
  "required": [
    "lastYear",
    "thisYear",
    "lastMonth",
    "thisMonth",
    "lastWeek",
    "thisWeek",
    "allTime"
  ],
  "title": "TimeStats",
  "type": "object"
}

Fields:

last_year pydantic-field

last_year

Statistics from the previous year.

this_year pydantic-field

this_year

Statistics from the current year.

last_month pydantic-field

last_month

Statistics from the previous month.

this_month pydantic-field

this_month

Statistics from the current month.

last_week pydantic-field

last_week

Statistics from the previous week.

this_week pydantic-field

this_week

Statistics from the current week.

all_time pydantic-field

all_time

All-time cumulative statistics.

get_by_time

get_by_time(stats_time)

Get the stats data for a specific time period.

Parameters:

Name Type Description Default
stats_time StatsTime

The time period to retrieve statistics for.

required

Returns:

Type Description
T

The statistics data for the specified time period.

StatsResponse pydantic-model

Bases: OtfItemBase

Complete lifetime statistics response containing all, in-studio, and out-of-studio data.

Show JSON schema:
{
  "$defs": {
    "AllStatsData": {
      "description": "Combined in-studio and out-of-studio workout statistics.",
      "properties": {
        "calories": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total calories burned.",
          "title": "Calories"
        },
        "splatPoint": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total splat points earned.",
          "title": "Splatpoint"
        },
        "totalBlackZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in gray/black zone.",
          "title": "Totalblackzone"
        },
        "totalBlueZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in blue zone.",
          "title": "Totalbluezone"
        },
        "totalGreenZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in green zone.",
          "title": "Totalgreenzone"
        },
        "totalOrangeZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in orange zone.",
          "title": "Totalorangezone"
        },
        "totalRedZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in red zone.",
          "title": "Totalredzone"
        },
        "workoutDuration": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total workout duration in minutes.",
          "title": "Workoutduration"
        },
        "stepCount": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total step count.",
          "title": "Stepcount"
        },
        "treadmillDistance": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total treadmill distance.",
          "title": "Treadmilldistance"
        },
        "treadmillElevationGained": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total treadmill elevation gained.",
          "title": "Treadmillelevationgained"
        },
        "rowerDistance": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total rower distance.",
          "title": "Rowerdistance"
        },
        "rowerWatt": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total rower watts.",
          "title": "Rowerwatt"
        },
        "walkingDistance": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total walking distance.",
          "title": "Walkingdistance"
        },
        "runningDistance": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total running distance.",
          "title": "Runningdistance"
        },
        "cyclingDistance": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total cycling distance.",
          "title": "Cyclingdistance"
        }
      },
      "title": "AllStatsData",
      "type": "object"
    },
    "InStudioStatsData": {
      "description": "In-studio workout statistics including equipment metrics.",
      "properties": {
        "calories": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total calories burned.",
          "title": "Calories"
        },
        "splatPoint": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total splat points earned.",
          "title": "Splatpoint"
        },
        "totalBlackZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in gray/black zone.",
          "title": "Totalblackzone"
        },
        "totalBlueZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in blue zone.",
          "title": "Totalbluezone"
        },
        "totalGreenZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in green zone.",
          "title": "Totalgreenzone"
        },
        "totalOrangeZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in orange zone.",
          "title": "Totalorangezone"
        },
        "totalRedZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in red zone.",
          "title": "Totalredzone"
        },
        "workoutDuration": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total workout duration in minutes.",
          "title": "Workoutduration"
        },
        "stepCount": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total step count.",
          "title": "Stepcount"
        },
        "treadmillDistance": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total treadmill distance.",
          "title": "Treadmilldistance"
        },
        "treadmillElevationGained": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total treadmill elevation gained.",
          "title": "Treadmillelevationgained"
        },
        "rowerDistance": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total rower distance.",
          "title": "Rowerdistance"
        },
        "rowerWatt": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total rower watts.",
          "title": "Rowerwatt"
        }
      },
      "title": "InStudioStatsData",
      "type": "object"
    },
    "OutStudioStatsData": {
      "description": "Out-of-studio workout statistics including distance metrics.",
      "properties": {
        "calories": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total calories burned.",
          "title": "Calories"
        },
        "splatPoint": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total splat points earned.",
          "title": "Splatpoint"
        },
        "totalBlackZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in gray/black zone.",
          "title": "Totalblackzone"
        },
        "totalBlueZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in blue zone.",
          "title": "Totalbluezone"
        },
        "totalGreenZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in green zone.",
          "title": "Totalgreenzone"
        },
        "totalOrangeZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in orange zone.",
          "title": "Totalorangezone"
        },
        "totalRedZone": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total minutes in red zone.",
          "title": "Totalredzone"
        },
        "workoutDuration": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total workout duration in minutes.",
          "title": "Workoutduration"
        },
        "stepCount": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total step count.",
          "title": "Stepcount"
        },
        "walkingDistance": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total walking distance.",
          "title": "Walkingdistance"
        },
        "runningDistance": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total running distance.",
          "title": "Runningdistance"
        },
        "cyclingDistance": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Total cycling distance.",
          "title": "Cyclingdistance"
        }
      },
      "title": "OutStudioStatsData",
      "type": "object"
    },
    "TimeStats_AllStatsData_": {
      "properties": {
        "lastYear": {
          "allOf": [
            {
              "$ref": "#/$defs/AllStatsData"
            }
          ],
          "description": "Statistics from the previous year."
        },
        "thisYear": {
          "allOf": [
            {
              "$ref": "#/$defs/AllStatsData"
            }
          ],
          "description": "Statistics from the current year."
        },
        "lastMonth": {
          "allOf": [
            {
              "$ref": "#/$defs/AllStatsData"
            }
          ],
          "description": "Statistics from the previous month."
        },
        "thisMonth": {
          "allOf": [
            {
              "$ref": "#/$defs/AllStatsData"
            }
          ],
          "description": "Statistics from the current month."
        },
        "lastWeek": {
          "allOf": [
            {
              "$ref": "#/$defs/AllStatsData"
            }
          ],
          "description": "Statistics from the previous week."
        },
        "thisWeek": {
          "allOf": [
            {
              "$ref": "#/$defs/AllStatsData"
            }
          ],
          "description": "Statistics from the current week."
        },
        "allTime": {
          "allOf": [
            {
              "$ref": "#/$defs/AllStatsData"
            }
          ],
          "description": "All-time cumulative statistics."
        }
      },
      "required": [
        "lastYear",
        "thisYear",
        "lastMonth",
        "thisMonth",
        "lastWeek",
        "thisWeek",
        "allTime"
      ],
      "title": "TimeStats[AllStatsData]",
      "type": "object"
    },
    "TimeStats_InStudioStatsData_": {
      "properties": {
        "lastYear": {
          "allOf": [
            {
              "$ref": "#/$defs/InStudioStatsData"
            }
          ],
          "description": "Statistics from the previous year."
        },
        "thisYear": {
          "allOf": [
            {
              "$ref": "#/$defs/InStudioStatsData"
            }
          ],
          "description": "Statistics from the current year."
        },
        "lastMonth": {
          "allOf": [
            {
              "$ref": "#/$defs/InStudioStatsData"
            }
          ],
          "description": "Statistics from the previous month."
        },
        "thisMonth": {
          "allOf": [
            {
              "$ref": "#/$defs/InStudioStatsData"
            }
          ],
          "description": "Statistics from the current month."
        },
        "lastWeek": {
          "allOf": [
            {
              "$ref": "#/$defs/InStudioStatsData"
            }
          ],
          "description": "Statistics from the previous week."
        },
        "thisWeek": {
          "allOf": [
            {
              "$ref": "#/$defs/InStudioStatsData"
            }
          ],
          "description": "Statistics from the current week."
        },
        "allTime": {
          "allOf": [
            {
              "$ref": "#/$defs/InStudioStatsData"
            }
          ],
          "description": "All-time cumulative statistics."
        }
      },
      "required": [
        "lastYear",
        "thisYear",
        "lastMonth",
        "thisMonth",
        "lastWeek",
        "thisWeek",
        "allTime"
      ],
      "title": "TimeStats[InStudioStatsData]",
      "type": "object"
    },
    "TimeStats_OutStudioStatsData_": {
      "properties": {
        "lastYear": {
          "allOf": [
            {
              "$ref": "#/$defs/OutStudioStatsData"
            }
          ],
          "description": "Statistics from the previous year."
        },
        "thisYear": {
          "allOf": [
            {
              "$ref": "#/$defs/OutStudioStatsData"
            }
          ],
          "description": "Statistics from the current year."
        },
        "lastMonth": {
          "allOf": [
            {
              "$ref": "#/$defs/OutStudioStatsData"
            }
          ],
          "description": "Statistics from the previous month."
        },
        "thisMonth": {
          "allOf": [
            {
              "$ref": "#/$defs/OutStudioStatsData"
            }
          ],
          "description": "Statistics from the current month."
        },
        "lastWeek": {
          "allOf": [
            {
              "$ref": "#/$defs/OutStudioStatsData"
            }
          ],
          "description": "Statistics from the previous week."
        },
        "thisWeek": {
          "allOf": [
            {
              "$ref": "#/$defs/OutStudioStatsData"
            }
          ],
          "description": "Statistics from the current week."
        },
        "allTime": {
          "allOf": [
            {
              "$ref": "#/$defs/OutStudioStatsData"
            }
          ],
          "description": "All-time cumulative statistics."
        }
      },
      "required": [
        "lastYear",
        "thisYear",
        "lastMonth",
        "thisMonth",
        "lastWeek",
        "thisWeek",
        "allTime"
      ],
      "title": "TimeStats[OutStudioStatsData]",
      "type": "object"
    }
  },
  "description": "Complete lifetime statistics response containing all, in-studio, and out-of-studio data.",
  "properties": {
    "allStats": {
      "allOf": [
        {
          "$ref": "#/$defs/TimeStats_AllStatsData_"
        }
      ],
      "description": "Combined in-studio and out-of-studio statistics."
    },
    "inStudio": {
      "allOf": [
        {
          "$ref": "#/$defs/TimeStats_InStudioStatsData_"
        }
      ],
      "description": "In-studio workout statistics only."
    },
    "outStudio": {
      "allOf": [
        {
          "$ref": "#/$defs/TimeStats_OutStudioStatsData_"
        }
      ],
      "description": "Out-of-studio workout statistics only."
    }
  },
  "required": [
    "allStats",
    "inStudio",
    "outStudio"
  ],
  "title": "StatsResponse",
  "type": "object"
}

Fields:

all_stats pydantic-field

all_stats

Combined in-studio and out-of-studio statistics.

in_studio pydantic-field

in_studio

In-studio workout statistics only.

out_studio pydantic-field

out_studio

Out-of-studio workout statistics only.