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

Parameters: log_measurement
NameTypeDescription
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
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"}'
Python
result = client.call("fitatu", "log_measurement", {"type":"weight","value":81.4,"date":"2026-10-13"})
Node.js
const result = await cotlet.call('fitatu', 'log_measurement', {"type":"weight","value":81.4,"date":"2026-10-13"});
CLI
cotlet call fitatu log_measurement --data '{"type":"weight","value":81.4,"date":"2026-10-13"}'

Example response

JSON

{
  "measurement_id": "ms_2210",
  "type": "weight",
  "value": 81.4,
  "unit": "kg",
  "date": "2026-10-13",
  "status": "saved"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.