Skip to main content
POST
Record a measurement

Authorizations

__Secure-better-auth.session_token
string
cookie
required

Better Auth session. Signing in (Google or email magic link) sets an HttpOnly session cookie that scopes every request to that account. The web app and CLI use this; agents use the OAuth 2.1 flow of the MCP server.

Body

application/json

The measurement to record.

Body for recording a measurement.

site
string
required

Body site identifier for the new measurement.

Example:

"waist"

valueCm
number
required

Circumference to record, in centimetres.

Required range: 1 <= x <= 300
Example:

81.5

Response

The measurement was stored.

Minimal success acknowledgement for write operations.

ok
boolean
required

Always true.

Example:

true