Avycenna

List medications

Medications the current user is actively taking. Pass `include_inactive=true` to include stopped ones.

GET
/api/v1/medications

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Query Parameters

include_inactive?Include Inactive
Defaultfalse

Header Parameters

x-api-key?string|null

Response Body

application/json

application/json

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