API Specificationxmb.api.v1.GrabberService
Register a grabber
Creates a grabber and allocates it a tunnel block. The token is retrieved separately.
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
Length
1 <= lengthname?string
Length
1 <= length <= 128[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.GrabberService/RegisterGrabber" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"grabber": "map[acceptedByHubUuids:[c41e7d2a-6f3b-4a9e-b2d8-1e5f7a3c9b04] agentVersion:214 externalAddresses:[203.0.113.47] internalAddresses:[10.0.0.5] lastHandshakeAt:2026-10-22T09:29:41Z lastSeenAt:2026-10-22T09:30:00Z name:seedbox-ams observedEndpoint:203.0.113.47:51820 peerLinks:[map[connected:true endpoint:192.168.1.20:51820 endpointKind:PEER_CANDIDATE_KIND_LAN lastHandshakeAt:2026-10-22T09:29:41Z peerKind:NODE_KIND_HUB peerName:nas-attic peerUuid:c41e7d2a-6f3b-4a9e-b2d8-1e5f7a3c9b04 reportedAt:2026-10-22T09:30:00Z]] status:GRABBER_STATUS_ACTIVE storage:map[budgetBytes:2000398934016 committedBytes:412316860416 obligationHoldBytes:53687091200 releasableBytes:107374182400 typedBudgetBytes:4000000000000] tunnelCidr:10.100.0.24/29 uuid:9b2f4c1e-7a3d-4e8f-8c6b-2a1d5e7f3c90 wgListenPort:51820 wgPublicKey:mE0bF3tq8nQ1Zr5yV7uXc2Hk9Ld4Wp6Sa0Gj3Ne8Ty4=]"
}Measure grabber tunnel POST
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`
Restart grabber POST
Asks the running grabber to re-exec into its current binary, which is how configuration changes take effect. **Required scopes:** `xmb:admin`