get_login_history
Retrieve user login and logout events, including failed login attempts, to audit access and security.
Instructions
Retrieve login and logout events for users, including failed login attempts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | Optional: filter by specific user. Omit to get system-wide login events. | |
| dateFrom | No | ISO-8601 start datetime. | |
| dateTo | No | ISO-8601 end datetime (default: now). | |
| includeFailures | No | Include failed login attempts (default true). | |
| limit | No | Maximum results to return (default 50). |