Skip to main content

Audit Log

GET /guilds/:id/audit​

Returns the last 50 configuration changes made to a guild via the dashboard, in reverse chronological order.

Entries are written automatically whenever a PATCH endpoint is called with a valid actorId.

Path parameters​

ParameterDescription
idDiscord guild snowflake ID

Response​

200 OK​

{
"logs": [
{
"id": "clxyz1234567890",
"guildId": "1234910949220028456",
"actorId": "111222333444555666",
"actorName": "Mario",
"action": "config.update",
"changes": {
"timezone": ["UTC", "Europe/Lisbon"]
},
"createdAt": "2025-06-05T17:00:00.000Z"
}
]
}
FieldTypeDescription
logs[].idstringUnique log entry ID (CUID)
logs[].guildIdstringDiscord guild snowflake ID
logs[].actorIdstringDiscord user ID of the person who made the change
logs[].actorNamestringDisplay name at the time of the change
logs[].actionstringAction type — see table below
logs[].changesobjectMap of changed fields. Each key maps to [previousValue, newValue]
logs[].createdAtstringISO 8601 timestamp

Action types​

ActionTriggered by
config.updatePATCH /guilds/:id/config
welcome.updatePATCH /guilds/:id/welcome

Example​

curl https://api.guacamoleninja.com/guilds/1234910949220028456/audit \
-H "Authorization: Bearer $BOT_API_SECRET"