Quasr is built with an event-driven architecture: every action in your tenant, such as an API call, a login attempt or a change to an account, produces an event. Events drive back-end processing, serve as an audit log of your tenant, and can trigger your own code in real time with extensions. All events are listed in the catalog.
Every event has following fields:
id) - The unique ID of the event.time) - When the event occurred (ISO 8601, UTC).type) - The type of event, e.g. AUTHENTICATION.origin) - What produced the event, e.g. the ID of a factor, extension or client, or the API that was called.action) - What happened, e.g. validate-factor.result) - The outcome: SUCCESS, PENDING or FAILED.reason) - Why the result is pending or failed, e.g. INCORRECT_INPUT or UNAUTHORIZED.account_id) - The ID of the account the event concerns, if any.address) - The IP address of the request, if any.detail) - Additional details specific to the action, as JSON.For example, a failed login with a wrong password:
{ "id": "{event_id}", "time": "2026-11-06T09:15:42.123Z", "type": "AUTHENTICATION", "origin": "{factor_id}", "action": "validate-factor", "result": "FAILED", "reason": "INCORRECT_INPUT", "account_id": "{account_id}", "address": "203.0.113.42", "detail": { "enrollment_id": "{enrollment_id}", "subtype": "secret:password" }}values, such as the OTP of a Send OTP event or the claims of a Capture Claims event. Values are passed to extensions but never logged, so they're not part of the events you can retrieve.| Type | Generated | Example Actions |
|---|---|---|
| API | For every request to the Authentication, Management and Agent APIs | post-oauth2-token, create-account, list-events |
| AUTHENTICATION | When accounts enroll in or validate factors, i.e. log in or sign up | enroll-factor, validate-factor |
| AUTHORIZATION | When accounts try to gain access to applications | access-client |
| DATABASE | When resources are created, updated or deleted | create-account, update-enrollment, delete-claim |
| DATA | To convey data captured or sourced from factors | capture-input, capture-claims, source-claim |
| COMMUNICATION | To convey messages to accounts, e.g. through your own provider | send-otp, warn-account |
| MONITORING | To provide insight in extensions | run-extension, log-extension |
| REGISTRATION | When an account completes its registration | enable-account |
https://{tenant_id}.admin.quasr.io/events, and the events of a specific account, factor, enrollment, source or extension in its Events tab.listEvents operation returns the events of your tenant (with an admin scope) or of the calling account (with an account scope), see below.list-events tool can be used, with the same arguments and scopes.A user's own events in the Account UI
The listEvents operation of the Management API returns events from newest to oldest, and can filter on any field. For example, the failed logins of the past week:
query { listEvents( filter: { type: { eq: "AUTHENTICATION" }, action: { eq: "validate-factor" }, result: { eq: "FAILED" }, time: { ge: "2026-10-30T00:00:00Z" } }, limit: 100 ) { items { id time origin reason account_id address detail } nextToken }}limit).time when you can: a request stops searching after about 20 seconds, and then returns the events found so far with a nextToken to continue.nextToken is returned, even if a page contains fewer events than the limit.Events are processed in two ways:
listEvents.Events are kept for at least 5 years, protected against modification and deletion, and replicated to our secondary region. See Security.
To act on events in real time, create an extension with a rule that matches the events you're interested in. For example, a rule with type AUTHENTICATION, action validate-factor and result FAILED runs your code on every failed login attempt, e.g. to alert your security team. See Extensions — Asynchronous.