Avycenna

Get medication adherence rate

Percentage of doses taken vs. skipped over the given window.

GET
/api/v1/medications/adherence

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Query Parameters

days?Days
Range7 <= value <= 90
Default30

Header Parameters

x-api-key?string|null

Response Body

application/json

application/json

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