Log measurement
Add a weight or body measurement for a day to the Measurements tab.
POST https://cotlet.dev/api/v1/fitatu/measurements
write Confirm
Adds one entry to Measurements, such as weight, body fat or a circumference. Fitatu does not import weight from scales or other apps, so this is how a reading from a script reaches the chart. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| type string required | string | Measurement type, e.g. weight, body_fat or waist. |
| value number required | number | Value in the unit your account uses. |
| date date | date | Day of the measurement, YYYY-MM-DD. Default: today. |
Request
curl -X POST https://cotlet.dev/api/v1/fitatu/measurements \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"weight","value":81.4,"date":"2026-10-13"}' result = client.call("fitatu", "log_measurement", {"type":"weight","value":81.4,"date":"2026-10-13"}) const result = await cotlet.call('fitatu', 'log_measurement', {"type":"weight","value":81.4,"date":"2026-10-13"}); cotlet call fitatu log_measurement --data '{"type":"weight","value":81.4,"date":"2026-10-13"}' Example response
{
"measurement_id": "ms_2210",
"type": "weight",
"value": 81.4,
"unit": "kg",
"date": "2026-10-13",
"status": "saved"
}