example-data.com
Menu
Browse docs and collections

Overview

workouts / #355

Endurance Blast

userId
Fritz Skiles @fritz_skiles
kind
strength
name
Endurance Blast
durationMinutes
29
caloriesBurned
258
intensity
high
notes
Ran out of time
performedAt
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 355,
  "userId": 144,
  "kind": "strength",
  "name": "Endurance Blast",
  "durationMinutes": 29,
  "caloriesBurned": 258,
  "intensity": "high",
  "notes": "Ran out of time",
  "performedAt": "2025-12-29T11:43:14.380Z",
  "createdAt": "2025-12-29T11:54:50.222Z"
}