Avycenna

List active patient grants (clinical view)

Returns all grants where the current user is the **grantee** — i.e., patients who have shared their data with this user. Requires role: `doctor`, `clinic_admin`, `clinic_staff`, or `admin`.

GET
/api/v1/grants/outgoing

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/grants/outgoing"
null
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string"    }  ]}