Actions193
- Application Actions
- Application Command Actions
- Application Role Connection Metadata Actions
- Audit Log Actions
- Auto Moderation Actions
- Channel Actions
- Get
- Modify
- Delete
- Trigger Typing
- Get Pinned Messages
- Unpin Message
- Create Reaction
- Delete Own Reaction
- Get Reactions
- Delete All Reactions
- Delete All Reactions For Emoji
- Bulk Delete Messages
- Crosspost Message
- Edit Channel Permissions
- Delete Channel Permission
- Get Channel Invites
- Create Channel Invite
- Follow Announcement Channel
- Group DM Add Recipient
- Group DM Remove Recipient
- Start Thread From Message
- Start Thread Without Message
- Start Thread In Forum Channel
- Join Thread
- Add Thread Member
- Leave Thread
- Get Thread Member
- List Thread Members
- List Public Archived Threads
- List Private Archived Threads
- List Joined Private Archived Threads
- Emoji Actions
- Entitlement Actions
- Guild Actions
- Get
- Modify
- Create
- Get Preview
- Delete
- Modify Channel Positions
- List Active Threads
- Get Bans
- Get Ban
- Remove Ban
- Get Prune Count
- Begin Prune
- Get Voice Regions
- Get Invites
- Get Integrations
- Delete Integration
- Get Widget Settings
- Modify Widget
- Get Widget
- Get Vanity URL
- Get Widget Image
- Get Welcome Screen
- Modify Welcome Screen
- Get Onboarding
- Modify Onboarding
- Modify Current User Voice State
- Modify User Voice State
- Search Members
- List Members
- Guild Scheduled Event Actions
- Guild Template Actions
- Interaction Response Actions
- Invite Actions
- Lobby Actions
- Member Actions
- Message Actions
- Poll Actions
- Role Actions
- SKU Actions
- Soundboard Actions
- Stage Instance Actions
- Sticker Actions
- Subscription Actions
- User Actions
- Voice Actions
- Webhook Actions
Audit Log → Get Guild Audit Log
AI-generatedSummary
Retrieve a guild’s audit log, with optional filters for the user who performed an action, event type, and entry ID range. Set the maximum number of entries to return; the result includes the audit log data returned by Discord.
Inputs
- Authentication — Choose Bot Token (default) or OAuth2 (User Token).
- Guild (required) — Guild snowflake ID to retrieve the audit log for.
- User ID — Filter entries to actions performed by this Discord user, using their snowflake ID.
- Action Type — Filter by audit log event type, or Any to include all types.
- Before — Return entries with IDs older than this snowflake ID.
- After — Return entries with IDs newer than this snowflake ID.
- Limit — Maximum number of entries to return; defaults to 50, with a UI range of 1–100.
- Request Options — Optional request settings for batching, SSL certificate validation, proxy, and timeout.
Output shape
A single response containing the guild audit log data returned by Discord.
The optional filters are sent as query parameters when populated. The limit controls the maximum result count; pagination behavior is not specified by the operation inputs.