get_audit_logs
Retrieve audit logs from a Discord server to monitor administrative actions, filter by user or action type, and track server changes.
Instructions
Get audit logs from a server
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guildId | Yes | The ID of the server (guild) | |
| limit | No | Number of entries to fetch (1-100, default 50) | |
| userId | No | Filter by user who performed action | |
| actionType | No | Filter by action type (e.g., MEMBER_BAN_ADD, CHANNEL_CREATE) | |
| before | No | Get entries before this audit log entry ID |