example-data.com
Menu
Browse docs and collections

Overview

workouts / #252

Recovery Circuit

userId
Lazaro Rath @lazaro.rath42
kind
strength
name
Recovery Circuit
durationMinutes
35
caloriesBurned
113
intensity
low
notes
Cardio felt easy
performedAt
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 252,
  "userId": 102,
  "kind": "strength",
  "name": "Recovery Circuit",
  "durationMinutes": 35,
  "caloriesBurned": 113,
  "intensity": "low",
  "notes": "Cardio felt easy",
  "performedAt": "2025-10-13T16:37:43.506Z",
  "createdAt": "2025-10-13T17:01:36.766Z"
}