list_admin_events
Retrieve and filter Keycloak admin events for a realm by date, user, client, IP, resource, and operation type to audit administrative activity.
Instructions
List admin events for the realm.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"realm": "<realm>"
},
"name": "list_admin_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Maximum results size | |
| first | No | Pagination offset | |
| realm | Yes | Realm name | |
| dateTo | No | Date to (inclusive) | |
| authUser | No | Auth user to filter by | |
| dateFrom | No | Date from (inclusive) | |
| authRealm | No | Auth realm to filter by | |
| direction | No | The direction to sort events by (asc or desc) | |
| authClient | No | Auth client to filter by | |
| resourcePath | No | Resource path to filter by | |
| authIpAddress | No | Auth IP address to filter by | |
| resourceTypes | No | Resource types filter | |
| operationTypes | No | Operation types to filter by |