Ingest a scale reading
Machine endpoint for the Bluetooth scale listener. Authenticated with the ingest bearer token and attributed to a configured owner rather than the Access identity.
/api/ingest/weightAuthorizationBearer token · headerrequiredShared secret carried as Authorization: Bearer <token>, used only by the scale-ingest route.
application/jsonThe scale reading to ingest.
weightKgnumberrequiredScale-reported body weight in kilograms.
bodyFatPctnumber | nullOptional scale-reported body-fat percentage.
userEmailstring<email>Owner to attribute the reading to; falls back to the configured ingest user.
rawobjectOpaque raw payload from the scale, stored for debugging.
The scale reading was ingested and stored.
okbooleanrequiredAlways true.
The request body or parameters failed validation.
errorstringrequiredHuman-readable failure reason.
detailstringOptional extra context, present on upstream failures.
Missing or incorrect ingest bearer token.
errorstringrequiredHuman-readable failure reason.
detailstringOptional extra context, present on upstream failures.
A required secret (model key or ingest token) is not configured.
errorstringrequiredHuman-readable failure reason.
detailstringOptional extra context, present on upstream failures.