List login audit events
Returns login audit events for the caller’s company, newest first.
Special-scope key required. This endpoint is gated by the
login-audits.readentitlement. Your API key must be issued with that scope or the request will be rejected with403 Forbidden. Contact Guardhouse Support to have the scope added to an existing key.
Tenant scope: the company is taken from your access token’s CompanyId claim. Passing companyId in the query string is ignored — cross-tenant isolation is enforced server-side.
Results are ordered by occurredUtc descending and paged with Skip((page - 1) * pageSize).Take(pageSize). There is no totalCount field — when fewer than pageSize rows are returned, you have reached the end.
Authorizations
JWT issued by POST /api/token/request. Send as Authorization: Bearer <token>.
Query Parameters
Filter to a specific user.
Filter by event type. 1 = LoginSuccess, 2 = LoginFailure, 3 = Logout (reserved).
1, 2, 3 Inclusive lower bound on occurredUtc (ISO-8601 UTC, e.g. 2026-04-01T00:00:00Z).
Inclusive upper bound on occurredUtc (ISO-8601 UTC).
1-based page index. Must be >= 1.
x >= 1Page size. Must be between 1 and 500.
1 <= x <= 500