Channels

Toggle voice debug logging

Allows staff to start or stop a channel-scoped voice debug logging session. Non-staff users cannot activate or stop sessions.

put/channels/{channel_id}/voice-debug-logging/session

Path parameters

channel_idstring snowflake required

The ID of the channel

Request body

enabledboolean required

Whether voice debug logging should be active for this channel

duration_msinteger

Optional activation duration in milliseconds. Defaults to one hour and is capped at four hours.

Response

Success

activeboolean required

Whether clients in this channel should currently send voice diagnostics

session_idstring nullable required

Current debug logging session id, if active

activated_by_user_idstring snowflake required
started_at_msinteger nullable required

Session start Unix timestamp in milliseconds

expires_at_msinteger nullable required

Session expiration Unix timestamp in milliseconds

poll_interval_msinteger required

Recommended client polling interval in milliseconds

upload_interval_msinteger required

Recommended client telemetry batch upload interval in milliseconds

Changes

No recorded changes to this endpoint across all 1 revision of this API.