Avycenna

List API keys

Excludes the secret value (only visible once, at creation). Without `organization_id`, returns the current user's personal keys. With `organization_id`, returns that clinic's keys (requires membership) — not just the ones the caller personally created.

GET
/api/v1/api-keys

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Query Parameters

organization_id?|null

Header Parameters

x-api-key?string|null

Response Body

application/json

application/json

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