Skip to main content

Ping a remote server

POST 

/network/ping

Send a ping to a remote server to verify network connectivity.

Request

Body

required

The server to ping.

    address stringrequired

    The IP address of the server to ping. Supports both IPv4 and IPv6.

Responses

Successful ping response.

Schema

    packets_sent integer

    Number of packets sent.

    packets_received integer

    Number of packets received.

    packet_loss double

    Percentage of packet loss.

    min_rtt string

    Minimum round-trip time as a string in Go's time.Duration format.

    avg_rtt string

    Average round-trip time as a string in Go's time.Duration format.

    max_rtt string

    Maximum round-trip time as a string in Go's time.Duration format.

Loading...