goals / #153
- userId
-
Marlin Goldner @marlin_goldner6
- name
- Meditate daily
- category
- habit
- targetValue
- 22.4
- currentValue
- 2.5
- unit
- minutes/day
- deadline
- —
- isCompleted
- false
- createdAt
Component variants
Medium
Meditate daily
#153
Small
goals/153 Related
References
curl -sS \
"https://example-data.com/api/v1/goals/153" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/goals/153"
);
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/153"
);
const goal = (await res.json()) as Goal;import requests
res = requests.get(
"https://example-data.com/api/v1/goals/153"
)
goal = res.json() {
"id": 153,
"userId": 160,
"name": "Meditate daily",
"category": "habit",
"targetValue": 22.4,
"currentValue": 2.5,
"unit": "minutes/day",
"deadline": null,
"isCompleted": false,
"createdAt": "2025-10-01T08:22:48.103Z"
}