API v9InterfacesRESTGetAPIAuditLogQueryVersion: 0.34.0On this pageRESTGetAPIAuditLogQuery https://discord.com/developers/docs/resources/audit-log#get-guild-audit-logIndex Propertiesaction_typebeforelimituser_idProperties optionalaction_typeaction_type?: AuditLogEventThe type of audit log eventsoptionalbeforebefore?: stringFilter the log before a certain entry IDoptionallimitlimit?: numberHow many entries are returned (default 50, minimum 1, maximum 100)@default50optionaluser_iduser_id?: stringFilter the log for actions made by a user
https://discord.com/developers/docs/resources/audit-log#get-guild-audit-log