Avycenna

Fitbit / Pixel Watch connection status

Whether Google Health is connected, which scopes the person granted (Google lets them untick any), what is missing for ECG, and how far each data type has synced. `needs_reconnect` means the app should offer to connect again.

GET
/api/v1/google-health/status

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Header Parameters

x-api-key?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/google-health/status"
null
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string"    }  ]}