example-data.com
Menu
Browse docs and collections

Overview

workouts / #68

Lower Body Challenge

userId
Melvina Reilly @melvina_reilly83
kind
cardio
name
Lower Body Challenge
durationMinutes
87
caloriesBurned
710
intensity
high
notes
Should have gone heavier
performedAt
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 68,
  "userId": 26,
  "kind": "cardio",
  "name": "Lower Body Challenge",
  "durationMinutes": 87,
  "caloriesBurned": 710,
  "intensity": "high",
  "notes": "Should have gone heavier",
  "performedAt": "2026-04-29T02:44:02.795Z",
  "createdAt": "2026-04-29T03:07:48.329Z"
}