Wearables

List connected synthetic wearable devices

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. Device data includes available battery, quality, metric and lastSyncedAt fields; absent metadata is omitted. Connect a watch using POST /api/sites/wearables/actions with type connect_device and patientId.

get/api/sites/wearables/devices

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.

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.