example-data.com
Menu
Browse docs and collections

Overview

workouts / #514

Lower Body Session

userId
Otho Nikolaus @otho.nikolaus99
kind
strength
name
Lower Body Session
durationMinutes
18
caloriesBurned
158
intensity
high
notes
Personal best on squats
performedAt
createdAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/workouts/514" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/workouts/514"
);
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/514"
);
const workout = (await res.json()) as Workout;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/workouts/514"
)
workout = res.json()

Response

{
  "id": 514,
  "userId": 209,
  "kind": "strength",
  "name": "Lower Body Session",
  "durationMinutes": 18,
  "caloriesBurned": 158,
  "intensity": "high",
  "notes": "Personal best on squats",
  "performedAt": "2026-05-12T05:52:41.183Z",
  "createdAt": "2026-05-12T06:45:30.344Z"
}