# All logs (paginated) curl "https://hapi.7331.org/v1/admin/audit/logs?limit=50" \ -b cookies.txt # Filter by event type curl "https://hapi.7331.org/v1/admin/audit/logs?event_type=USER_BAN" \ -b cookies.txt
{ "items": [ { "id": 1, "entity_type": "user", "discord_id": "123456789012345678", "event_type": "SUBSCRIPTION_GRANT", "discord_user_id": "999888777666555444", "event_metadata": { "old_tier": 0, "new_tier": 2, "duration_days": 30 }, "created_at": "2026-01-15T12:00:00Z" } ], "total": 1, "offset": 0, "limit": 50 }
Retrieve audit logs with optional filters (moderator+).
USER_WARN
USER_TIMEOUT
1
200
user
guild
bot
SUBSCRIPTION_GRANT
USER_BAN
USER_UPDATE
Was this page helpful?