Skip to content

Audit Logs: Track Every Action in Your Organization

Every significant action in your Xplorr organization is recorded in the audit log. Logins, role changes, account connections, credential access — it’s all there. Audit logs help you answer “who did what, when, and from where.”

Navigate to Audit in the left sidebar of your console. Audit logs are visible to users with the Admin role or higher.

ActionDescription
user.loginSuccessful password login
user.login_2faLogin completed with TOTP 2FA
user.login_webauthnLogin via passkey/WebAuthn
user.signed_upNew account created
user.email_verifiedEmail address verified
user.password_changedPassword updated
user.password_reset_requestedPassword reset email sent
ActionDescription
user.invite_sentInvitation email sent to new user
user.joinedUser accepted invitation and joined org
user.updatedProfile updated
user.role_changedUser role changed (e.g., member → admin)
user.deactivatedUser account deactivated
user.access_grantedCloud account access granted to user
user.access_revokedCloud account access revoked
ActionDescription
user.2fa_enabledTwo-factor authentication enabled
user.2fa_disabledTwo-factor authentication disabled
user.webauthn_registeredPasskey/security key registered
user.webauthn_removedPasskey/security key removed
session.ip_change_revokedSession revoked due to IP address change
ActionDescription
sso.configuredSAML SSO configured for org
sso.disabledSAML SSO disabled
sso_loginUser logged in via SSO
ActionDescription
platform.impersonateAdmin impersonated a user
platform.org_deletedOrganization deleted

Each audit log entry contains:

FieldDescription
TimestampWhen the action occurred (UTC)
User EmailWho performed the action
ActionThe event type (e.g., user.login)
Resource TypeCategory of the affected resource
Resource NameName of the affected resource (if applicable)
IP AddressThe user’s IP address
DetailsAdditional context as JSON

Audit logs automatically redact sensitive values. Any field containing password, token, secret, key, credentials, authorization, or cookie is replaced with [REDACTED] in the details JSON.

Use the filter controls at the top of the audit page:

FilterDescription
ActionSelect a specific event type from the dropdown (populated from your actual events)
User EmailSearch by user email (supports partial match)
Date RangeFilter by start and end date

Audit logs are paginated with configurable page size (default: 50 entries per page). Navigate between pages using the controls at the bottom.

Click Export CSV to download audit logs matching your current filters. The export:

  • Includes up to 10,000 rows
  • Respects your active filters (action type, user email, date range)
  • Contains columns: Timestamp, User, Action, Resource Type, Resource Name, IP Address, Details
  • Sanitizes fields to prevent CSV formula injection
Terminal window
# Export via API
curl -H "Authorization: Bearer $TOKEN" \
"https://api.xplorr.io/api/v1/audit/export?action=user.login&from=2026-03-01&to=2026-03-21" \
-o audit-logs.csv

Audit logs are retained for 14 days. A nightly retention job automatically purges older entries.

To preserve audit logs beyond 14 days:

  1. Set up a weekly CSV export (manually or via API automation)
  2. Store exports in your own archival system (S3, Google Cloud Storage, etc.)
MethodPathDescription
GET/auditList audit logs (paginated, filterable)
GET/audit/actionsGet distinct action types for filter dropdown
GET/audit/exportExport audit logs as CSV
ParameterTypeDefaultDescription
pagenumber1Page number
limitnumber50Entries per page
actionstringFilter by action type
user_emailstringFilter by email (partial match)
fromdateStart date (YYYY-MM-DD)
todateEnd date (YYYY-MM-DD)
Terminal window
# Get login events from the last week
curl -H "Authorization: Bearer $TOKEN" \
"https://api.xplorr.io/api/v1/audit?action=user.login&from=2026-03-14&limit=100"
{
"logs": [
{
"id": "abc123",
"user_email": "[email protected]",
"action": "user.login",
"resource_type": "session",
"ip_address": "203.0.113.42",
"details": {},
"created_at": "2026-03-20T14:23:01Z"
}
],
"total": 47,
"page": 1,
"limit": 100
}