example-data.com

goals / #195

userId
Tabitha Ruecker @tabitha.ruecker
name
Bench press bodyweight
category
fitness
targetValue
79.6
currentValue
75.3
unit
kg
deadline
isCompleted
false
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/goals/195" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/goals/195"
);
const goal = await res.json();
import type { Goal } from "https://example-data.com/types/goals.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/goals/195"
);
const goal = (await res.json()) as Goal;
import requests

res = requests.get(
    "https://example-data.com/api/v1/goals/195"
)
goal = res.json()
{
  "id": 195,
  "userId": 197,
  "name": "Bench press bodyweight",
  "category": "fitness",
  "targetValue": 79.6,
  "currentValue": 75.3,
  "unit": "kg",
  "deadline": null,
  "isCompleted": false,
  "createdAt": "2025-08-09T14:01:59.429Z"
}
Draftbit