/api/v1/guilds/:id/ai-feedback
Authentication: API key or JWT Bearer token required.
GET /guilds/:id/ai-feedback/stats
Returns aggregate feedback counts and a daily trend for the guild.Path parameters
The Discord guild ID.
Query parameters
Number of days for the trend window. Minimum
1, maximum 90.Response
Total thumbs-up reactions received.
Total thumbs-down reactions received.
Total feedback entries.
Positive feedback percentage (0–100), or
null if no feedback has been recorded.Daily breakdown for the requested window.
Example
GET /guilds/:id/ai-feedback/recent
Returns the most recent feedback entries for the guild, newest first.Path parameters
The Discord guild ID.
Query parameters
Maximum number of entries to return. Maximum
100.Response
List of feedback entries, ordered newest first.
Example
Error responses
| Status | Cause |
|---|---|
401 | Missing authentication |
403 | Authenticated user is not a guild admin |
503 | Database unavailable |