Statistics#
GET /api/stats#
Get guild stats
Returns guild-wide activity totals, trend, heatmap, leaderboards, and who’s gone quiet, over the given window. An officer must be signed in.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
no |
The stats window. |
Response 200 — The guild’s stats for the window.
Model: GuildStats
Field |
Type |
Required |
Description |
|---|---|---|---|
|
yes |
||
|
string (date-time) | null |
yes |
Start of the window; |
|
string (date-time) | null |
yes |
Earliest hour the bot has ever recorded activity for. |
|
yes |
||
|
StatsTotals | null |
yes |
The same-length window right before |
|
string |
yes |
|
|
array of StatsTrendPoint |
yes |
Oldest first, zero-filled across the window ( |
|
array of StatsHourCell |
yes |
Non-zero weekday/hour cells only. |
|
array of StatsLeader |
yes |
Highest message count, max 10. |
|
array of StatsLeader |
yes |
Most voice minutes, max 10. |
|
array of StatsLeader |
yes |
Most attended events, max 10. |
|
array of StatsLeader |
yes |
Most counted #lfg groups joined, max 10. |
|
array of StatsLeader |
yes |
Most XP gained in the window, max 10. |
|
array of StatsQuietMember |
yes |
Roster members still in the guild with no messages, voice, or attended event in the last 30 days (independent of |