Ingest a wearable data point
Records a single metric reading (e.g. heart rate, steps) from a wearable source like Apple Health or Garmin.
Authorization
HTTPBearer In: header
Header Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/wearables/ingest" \ -H "Content-Type: application/json" \ -d '{ "metric": "string", "value": 0, "unit": "string", "recorded_at": "2019-08-24T14:15:22Z", "source": "apple_health" }'null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}Choose a wearable source POST
Registers the source (e.g. `apple_health`, `garmin`) the patient has chosen as their connected device. Marks it `is_primary`, unsetting any previously-primary source, and creates a `pending` sync record if this source has never been seen before — connecting doesn't require any data to have synced yet.
Get supported wearable source and clinical-tier metadata GET
Returns the source catalog, metric catalog, and clinical tier definitions used by Avycenna clients to distinguish wellness trends, screening results, and diagnostic evidence.