Skip to main content

Tunnel statistics since connection

get/v1/tunnels/{id}/stats

Tunnel statistics since it connected: traffic, HTTP requests, and TCP connections. Nodes send data once a minute

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Path Parameters

  • id integer<int64>required

Response

    bytes_ininteger<int64>

    Bytes from visitors to the local service

    Example: 10485760
    bytes_outinteger<int64>

    Bytes from the local service to visitors

    Example: 20971520
    requestsinteger<int64>

    HTTP requests

    Example: 1500
    sincestring<date-time>

    Start of the stats period: when the tunnel connected

    tcp_connectionsinteger<int64>

    TCP connections

    Example: 42