Receiving results via API polling
Use /bioage
endpoint to request users' biological age accelerations after it was calculated.
GET
https://api-b2b.gerosense.ai/api/v2.2/bioage
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
from_date*
String
Start of the requested period.
In YYYY-MM-DD
format
to_date*
String
End of the requested period.
In YYYY-MM-DD
format
Headers
Name
Type
Description
Authorization*
String
Bearer <token>
Content-Type*
String
application/json
REQUEST (EXAMPLE)
200 – RESPONSE (EXAMPLE)
The null
value inside bioage
array is reserved for cases, when it was not enough data to calculate biological age acceleration for this day.
Last updated