← Examples

Break a workout into heart rate zones

A 27-minute walk split across Fitbit's heart-rate zones and compared with the user's usual walking pace.

My Fitbit Data my_fitbit_data.get_workout_sessions

Captured April 2026

The workout record

Fitbit records time in each heart-rate zone for a workout. The assistant charts those minutes and compares this walk with the user’s usual walking pace.

The prompt

Show me a visual breakdown of my heart rate zones in my last workout.

The response

Show me a visual breakdown of my heart rate zones in my last workout.

Executing my_fitbit_data.get_workout_sessions
Activity
Walk
Duration
27 min
Avg HR
135 bpm
Calories
214
  • Out of range under 50% max HR
  • Fat burn 50–69%
  • Cardio 70–84%
  • Peak 85%+

Strong session — that 27-minute walk on April 22 was much more intense than your usual pace. You spent 9 minutes in cardio zone and 3 minutes in peak, which together is about 44% of the workout in serious training territory. The fat-burn 10 minutes likely covers your warm-up and cool-down. Average HR of 135 confirms it — well above your typical walking pace.

If you can hit this kind of zone distribution two or three times a week, you’re getting real cardiovascular benefit. The peak time especially helps with VO2 max over time.

Compared with the usual pace

This was a harder walk than usual, not an absolute judgment about fitness. The response infers that the fat-burn block covers the warm-up and cool-down, and labels that as an inference.