List pre-auth attempts
Auth-funnel events for one tenant, newest first — including the attempts that never reached an account, which is the whole point. Pass email to answer "did this address ever try, and what failed": the address is hashed server-side and matched against the stored hash, so the search term is never written to the database and the plaintext never had to be stored to be findable. Scoped to the caller's tenant; only a cross-tenant admin may name another via tenant_id. from/to accept RFC3339 or YYYY-MM-DD. Unknown query parameters are a 400, not a silently unfiltered list.
Request
- Base URL: https://api.instruxi.dev/api/v1/enforcer
- URL: https://api.instruxi.dev/api/v1/enforcer/admin/auth-events
- Auth: one of:
- API key in header Authorization
- API key in header X-API-Key
Query parameters
tenant (cross-tenant admin only)
exact address to search for (hashed server-side)
one of the closed set
only attempts by members of this group — matched on the row's account, or on the address hash of a member's email; attempts from addresses no account holds never match. 404 group_not_found if the group is not visible to you
drop attempts by members of this group (attempts from unknown addresses are kept); 404 group_not_found if not visible
RFC3339 or YYYY-MM-DD
RFC3339 or YYYY-MM-DD
page size
page offset
Response
OK
Example response
{
"limit": 50,
"total": 3
}Changes
No recorded changes to this operation across all 1 revision of this API.