example-data.com
Menu
Browse docs and collections

Overview

workouts / #266

Quick Session

userId
Elva Roberts @elva.roberts48
kind
strength
name
Quick Session
durationMinutes
68
caloriesBurned
725
intensity
high
notes
Needed more rest between sets
performedAt
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 266,
  "userId": 107,
  "kind": "strength",
  "name": "Quick Session",
  "durationMinutes": 68,
  "caloriesBurned": 725,
  "intensity": "high",
  "notes": "Needed more rest between sets",
  "performedAt": "2026-03-12T10:12:41.708Z",
  "createdAt": "2026-03-12T10:39:00.237Z"
}