Recovery

Recent days' step counts

One count per day from one source, never added across devices. Today's count is marked partial. Display only: nothing in the prescription reads steps.

get/wellness/steps

Request

  • Base URL: https://bodylab.lol/api/v1
  • URL: https://bodylab.lol/api/v1/wellness/steps
  • Auth: HTTP bearer

Query parameters

daysinteger

How many days back from today.

Headers

X-Client-Platformstring

The native client's platform, e.g. ios. Server-side and non-native callers omit it.

X-Client-Versionstring

The native client's own semver version. With X-Client-Platform, a version below that platform's minimum is refused with CLIENT_UPGRADE_REQUIRED (426).

Response

OK

seriesSourcestring nullable required

The source every day's count comes from now: chosenSource when set, otherwise the source with the most counts (the earliest to report on a tie). Null before any count.

chosenSourcestring nullable required

The source the athlete chose for steps (PUT /wellness/steps/source), or null while Body Lab picks the one with the most counts.

todaystring date required

Today on the athlete's calendar, in their time zone.

Changes

No recorded changes to this operation across all 1 revision of this API.