Get history for one metric
Time series of readings for a single metric (e.g. `heart_rate`, `steps`) over the given window.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
metric*Metric
Query Parameters
days?Days
Range
1 <= value <= 365Default
30Header Parameters
x-api-key?string|null
Response Body
application/json
application/json
curl -X GET "https://example.com/api/v1/wearables/metric/string"null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}Get latest reading per metric GET
The most recent data point for every metric the current user has synced, keyed by metric name.
Get the known metric vocabulary GET
Advisory metadata (label/unit/category) for the metric names Avycenna's own clients use — `metric` on `/wearables/ingest` stays free text, so this is just what the apps and web use to render icons and group vitals/activity/sleep/body, not a hard whitelist.