Wearables

Read stored wearable measurements and history

Requires wearables scope. Returns stored synthetic records owned by and visible to wearables in your team's world, including data, versions and provenance. total counts all matching records before pagination. Records retain storage insertion order (not observation-time order); advance offset by the number of items returned until offset reaches total. Pausing simulation time avoids new readings appearing during pagination. No real devices or external health accounts are accessed. data includes metric, value, unit, quality and observedAt (Unix milliseconds); baseline is present only when stored. A disconnected device produces quality=missing with value=null. Seeded history includes steps, heart rate and sleep; connected watches generate steps readings as simulation time advances. This API does not imply that the seeded glucose monitor has glucose measurements.

get/api/sites/wearables/readings

Request

  • Base URL
    https://sim.animahealth.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or API key in cookie sim_session

Query parameters

patientstring
Example:SIM-000006

Exact synthetic patient ID; unknown patients return an empty page.

offsetinteger

Number of matching records to skip.

limitinteger

Maximum number of records to return.

worldstring

Operator only: world to inspect or mutate. Team keys always use their own world.

metricstring
Example:steps

Exact metric filter. Seeded metrics include steps, heart-rate and sleep; unknown metrics return an empty page.

Response

Success

totalinteger required
offsetinteger required
limitinteger required
nownumber required

Simulation Unix timestamp in milliseconds.

Changes

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