Skip to Content
Xeonr Developer Docs
API Specificationxmb.api.v1.GrabberService

Measure grabber tunnel

POST
/xmb.api.v1.GrabberService/MeasureGrabberTunnel

Asks the grabber to write synthetic bytes at a discard listener — its own (stack-only) or a hub's (through the real path) — and report the rate. Runs for a few seconds and answers synchronously.

Required scopes: xmb:admin

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

serverSlug?string
uuid?string
peerHubUuid?string

Peer hub to blast at, through the real tunnel — the delivery direction. Empty means the grabber dials its own listener: no network, just the stack.

seconds?integer
connections?integer
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.GrabberService/MeasureGrabberTunnel" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "report": "map[bytesSent:1073741824 connectMs:3.2 cpuCores:0.4 detail:4 connections for 10s to nas-attic over the tunnel mibPerSecond:94.6]"
}