Skip to content
skcal
Esc
↑↓navigate↵open⌘Jpreview

List measurements

Returns up to 500 of the caller’s measurements, newest first.

GET/api/measurements
Authorization
__Secure-better-auth.session_tokenAPI key · cookierequired

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.

or
AuthorizationBearer token · headerrequired

Personal API key sent as Authorization: Bearer skcal_…. Create and scope keys in the app under your profile → API keys. Keys default to full access; a scoped key is limited to its granted resource:action permissions and cannot manage other keys.

Responses
200

Measurements, newest first.

Array of Measurement
idintegerrequired

Auto-increment measurement identifier.

tsinteger<int64>required

Measurement time as a Unix epoch in milliseconds.

sitestringrequired

Body site, e.g. waist, shoulders, arm_r.

valueCmnumberrequired

Measured circumference in centimetres.

sourcestringrequired

Where the measurement came from.

Try it
Server
Authorization
Request
curl -X GET 'https://app.skcal.fit/api/measurements' \
  -H 'Cookie: __Secure-better-auth.session_token=YOUR_API_KEY' \
  -H 'Accept: application/json'
Response
[
  {
    "id": 318,
    "ts": 1782000000000,
    "site": "waist",
    "valueCm": 81.5,
    "source": "manual"
  }
]

Was this page helpful?