Statistics

Voice activity

GET/v1/guilds/:guildId/stats/voice
NeedsOwner's keynyx+stats:read

Voice joins and minutes spent in voice for each day, the total minutes, and the voice channels that were used, most minutes first.

Days are UTC calendar days, and from and to are both inclusive. The response echoes the range nyx actually applied, which can be narrower than the one asked for when it reaches past the history nyx keeps.

joins counts connections, not people: a member who joins voice twice in a day counts twice. channels lists only channels with voice time in the range; name is null once a channel has been deleted.

Query parameters

fromdate
First day, inclusive, in UTC. Defaults to 29 days before to, so the default range is 30 days.
todate
Last day, inclusive, in UTC. Defaults to today. The range may span at most 365 days.

Errors

400 BAD_REQUEST when:

  • from or to is not a real date in YYYY-MM-DD form.
  • from is after to.
  • The range spans more than 365 days, counting both ends.

Plus the failures every endpoint shares, listed under errors & limits.