Core Session
- userId
-
Sonia Nolan @sonia_nolan
- kind
- sports
- name
- Core Session
- durationMinutes
- 43
- caloriesBurned
- 362
- intensity
- high
- notes
- Cardio felt easy
- performedAt
- createdAt
Overview
workouts / #512
Core Session
#512
Request
curl example
curl -sS \ "https://example-data.com/api/v1/workouts/512" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/workouts/512" ); 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/512"
);
const workout = (await res.json()) as Workout; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/workouts/512"
)
workout = res.json() Response
{
"id": 512,
"userId": 208,
"kind": "sports",
"name": "Core Session",
"durationMinutes": 43,
"caloriesBurned": 362,
"intensity": "high",
"notes": "Cardio felt easy",
"performedAt": "2025-08-08T15:00:44.990Z",
"createdAt": "2025-08-08T15:08:28.687Z"
}