Endurance Workout
- userId
-
Cassidy Christiansen @cassidy_christiansen38
- kind
- strength
- name
- Endurance Workout
- durationMinutes
- 60
- caloriesBurned
- 601
- intensity
- very_high
- notes
- Personal best on squats
- performedAt
- createdAt
Overview
workouts / #82
Endurance Workout
#82
Request
curl example
curl -sS \ "https://example-data.com/api/v1/workouts/82" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/workouts/82" ); const workout = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/workouts.d.ts https://example-data.com/types/workouts.d.ts
import type { Workout } from "./types/workouts";
const res = await fetch(
"https://example-data.com/api/v1/workouts/82"
);
const workout = (await res.json()) as Workout; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/workouts/82"
)
workout = res.json() Response
{
"id": 82,
"userId": 33,
"kind": "strength",
"name": "Endurance Workout",
"durationMinutes": 60,
"caloriesBurned": 601,
"intensity": "very_high",
"notes": "Personal best on squats",
"performedAt": "2025-11-19T14:29:26.557Z",
"createdAt": "2025-11-19T15:21:21.731Z"
}