Returns hit counts for address translation (NAT) rules, or resets counters for specific rules. Filter by tracker ID, network name, interface, or CIDR ranges.
Requires nodes::service:nat-hits or nodes::remote-execute permission.
Security
JWTAuthorizer
GET— return hit countsRESET— reset counters for matching rulesRESET_ALL— reset all counters
Enum:"GET""RESET""RESET_ALL"
- Mock serverhttps://apidocs.trustgrid.io/_mock/node/{nodeID}/trigger/nat-hits
- https://api.trustgrid.iohttps://api.trustgrid.io/node/{nodeID}/trigger/nat-hits
curl -i -X POST \
'https://apidocs.trustgrid.io/_mock/node/{nodeID}/trigger/nat-hits?wait=1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"action": "GET",
"trackerID": "string",
"networkName": "string",
"interfaceName": "string",
"insideCIDR": "10.0.0.0/24",
"outsideCIDR": "172.16.0.0/16",
"networkGroup": "string"
}'