Triggering biological age acceleration computations
Since biological age acceleration computations are resource-intensive, we don't start them automatically on each new sample batch received. There are two options on how to trigger them:
Biological age accelerations will be calculated automatically 5 minutes after receiving the last batch with a user's data.
You can manually trigger these computations when the last batch is sent by calling
/bioage/calculate
.
POST
/api/v1.1/bioage/calculate
Headers
Name
Type
Description
Authorization*
String
Bearer <token>
Content-Type*
String
application/json
Request Body
Name
Type
Description
model_type
String
Model to trigger.
Either steps
or bpm
(for heart rate)
curl -X 'POST' 'https://<api-proxy-hostname>/api/v1.1/bioage/calculate' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{"model_type": "steps"}'
Last updated