Querying events
Callmaxi/get-audit-events to retrieve audit log entries. You can filter by category, specific event name, or a timestamp to narrow results.
Parameters:
Example: all content mutations
Example: license events only
Example: events since a specific time
Response format
Each audit log entry has the following fields:Example response entry
Event categories
content — content mutations
content — content mutations
Records every change to posts, pages, and custom post types.
key — API key events
key — API key events
Records all AI provider credential activity.
Both events include the provider name in
context.license — license lifecycle
license — license lifecycle
Records license activation and deactivation events.
oauth — OAuth token lifecycle
oauth — OAuth token lifecycle
Records every stage of the OAuth 2.1 flow — client registration, authorization, token issuance, and revocation.Token validation failures with
reason: unknown_or_expired_or_revoked are worth monitoring — repeated failures may indicate a misconfigured client or a stolen token replay attempt.notes — notes activity
notes — notes activity
Records significant note lifecycle events.
wp_cli — WP-CLI command execution
wp_cli — WP-CLI command execution
Records every WP-CLI command attempted via
maxi/run-wp-cli, including rejected commands and the rejection reason.email — email sends
email — email sends
Records every email sent via
maxi/send-email. Includes recipient, subject, and from identity. The email body is not logged.data_masking — masking list changes
data_masking — masking list changes
Records additions and removals from the GDPR data masking field list managed via
maxi/manage-mask-fields.rules — ability rule events
rules — ability rule events
Records rule-related events, including blocked ability calls and rule sync operations.