Getting Users Resilience

Use /resilience endpoint to request a user's resilience:

GET https://api-b2b.gerosense.ai/api/v2.2/resilience

Query Parameters

Name
Type
Description

user_id*

String

User's unique identifier

model_type*

String

Model to use. Either steps or bpm (for heart rate)

device_name*

String

A unique device name like iPhone or Apple Watch

Headers

Name
Type
Description

Authorization*

String

Bearer <token>

Content-Type*

String

application/json

REQUEST (EXAMPLE)
curl 'https://api-b2b.gerosense.ai/api/v2.2/resilience?user_id=85b4453a-46de-484c-bbc2-12666ebc7ed9&model_type=steps&device_name=iPhone' \
     -H 'accept: application/json' \
     -H 'Authorization: Bearer <token>' \
     -H 'Content-Type: application/json'
200 – RESPONSE (EXAMPLE)
{
  "user_id": "85b4453a-46de-484c-bbc2-12666ebc7ed9",
  "device_name": "iphone",
  "model_type": "steps",
  "resilience": 2
}

Last updated