Who accessed my data (patient)
The audit trail of clinicians reading or acting on the current user's data, newest first — so patients can see exactly how the access they granted is being used.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
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/grants/access-log"null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}Accept a grant request (patient) POST
Accept a pending grant, making the requesting clinician's access active. Available to all authenticated users (any role can act as a patient).
Decline a pending grant request (patient) POST
Decline a **pending** grant request — the clinician never gets access. For revoking an already-active grant, use `/grants/revoke` instead.