Get audit log
get_audit_logRetrieve Discord's audit log to investigate past administrative actions. Filter by action type (e.g., channel_create, member_ban_add) or acting user.
Instructions
Discord's historical record of administrative actions: who did what, to what, when, and why. Use this to investigate what already happened; for activity as it happens use subscribe_events. Filter by action name (like channel_create, member_ban_add, message_delete) or by the acting user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | Only entries by this user (name or ID). | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| limit | No | Max entries. Default 25. | |
| action | No | Action name filter, like channel_delete or member_kick. |