Interface ShardDebugResponse

Full shard debug snapshot (requires shard token).

interface ShardDebugResponse {
    app: string;
    centralUrl: string;
    channels: { id: number; name: string; userIds: string[] }[];
    clients: number;
    entitledUntil: string;
    guildId: string;
    guildName: string;
    ok: boolean;
    publicUrl: string;
    runtime: string;
    startedAt: string;
    udpPublicHost?: string;
    udpVoice: Record<string, unknown>;
    udpVoiceEnabled: boolean;
    udpVoiceEndpoint: string;
    users: {
        assignedNetIds: number[];
        audioDropped: number;
        audioIn: number;
        audioOut: number;
        backpressureEvents: number;
        connectedAt: string;
        control: boolean;
        name: string;
        udpAudioIn: number;
        udpAudioOut: number;
        udpVoice: boolean;
        userId: string;
        voice: boolean;
    }[];
}

Properties

app: string

Application identifier.

centralUrl: string

URL of the central coordination service.

channels: { id: number; name: string; userIds: string[] }[]

Channels and their member user IDs.

Type declaration

  • id: number

    Channel ID.

  • name: string

    Channel name.

  • userIds: string[]

    IDs of users in the channel.

clients: number

Number of currently connected clients.

entitledUntil: string

ISO timestamp until which the shard is entitled to run.

guildId: string

Discord guild ID this shard serves.

guildName: string

Human-readable guild name.

ok: boolean

Whether the debug snapshot was produced successfully.

publicUrl: string

Public base URL of the shard.

runtime: string

Runtime environment description.

startedAt: string

ISO timestamp when the shard started.

udpPublicHost?: string

Public host used for UDP voice, if any.

udpVoice: Record<string, unknown>

Raw UDP voice diagnostics.

udpVoiceEnabled: boolean

Whether UDP voice transport is enabled.

udpVoiceEndpoint: string

UDP voice endpoint the shard advertises.

users: {
    assignedNetIds: number[];
    audioDropped: number;
    audioIn: number;
    audioOut: number;
    backpressureEvents: number;
    connectedAt: string;
    control: boolean;
    name: string;
    udpAudioIn: number;
    udpAudioOut: number;
    udpVoice: boolean;
    userId: string;
    voice: boolean;
}[]

Per-user connection and audio diagnostics.

Type declaration

  • assignedNetIds: number[]

    Net IDs currently assigned to the user.

  • audioDropped: number

    Count of dropped audio packets.

  • audioIn: number

    Inbound audio packet count.

  • audioOut: number

    Outbound audio packet count.

  • backpressureEvents: number

    Number of backpressure events observed.

  • connectedAt: string

    ISO timestamp when the user connected.

  • control: boolean

    Whether the user holds a control connection.

  • name: string

    Display name.

  • udpAudioIn: number

    Inbound UDP audio packet count.

  • udpAudioOut: number

    Outbound UDP audio packet count.

  • udpVoice: boolean

    Whether the user is using UDP voice transport.

  • userId: string

    User ID.

  • voice: boolean

    Whether the user has voice enabled.