Additional utilities brings together the fast operational helpers teams reach for when they need an immediate sanity check on the instance rather than a full module workflow. This is where you inspect current machine health, run a network speed test, clear accumulated process and SRT errors, or resolve an IP into a location signal.
These endpoints matter when the team is trying to answer a practical question quickly: is the box under pressure, is the uplink good enough, are old error logs obscuring what is happening now, or where is this remote endpoint likely coming from.
The useful patterns here are simple: capture a health snapshot before or during an incident, verify network throughput on the live host, clear stale error noise before a new test, and resolve an IP when a team needs location context during troubleshooting.
{
"ip": "1.1.1.1"
}
Use getStat when the first question is whether CPU, RAM, disk, or accumulated process errors already explain what the team is seeing.
Use speedTest when operators need one immediate read on upload, download, and latency from the same host that runs the engine.
Use clearErrorLogs when old process or SRT errors should not pollute the next test, rehearsal, or recovery pass.
Use this method for a fast instance-health snapshot. It is the quickest way to see CPU, RAM, disk, public version context, and accumulated process or SRT errors before the team goes deeper into module-specific debugging.
curl --request POST \--url http://localhost/api/utils/getStat \--header 'x-access-token: <your_api_token>' \--header 'Content-Type: application/json' \--data '{}'
Current CPU, disk, and memory snapshot for the engine host.
Published version metadata used by the dashboard to compare the local build with available public versions.
Current accumulated SRT and process-error sets that operations can review before clearing them.
Successful responses expose success: true.
{"cpuUsage": 12.4,"drive": {"totalGb": "250.00","usedGb": "81.00","usedPercentage": "32.4"},"RAM": {"totalMemMb": 16384,"usedMemMb": 6240,"usedMemPercentage": 38.1},"publicVersion": [{"version_name": "stable","version_number": "8.2"}],"srtErrors": [],"processErrors": [],"success": true}
Use this method when operators need a direct read on upload, download, and latency from the engine host itself. It is especially useful before a live window or after a complaint that sounds network-related.
curl --request POST \--url http://localhost/api/utils/speedTest \--header 'x-access-token: <your_api_token>' \--header 'Content-Type: application/json' \--data '{}'
Round-trip quality signals returned by the speed test.
Measured transfer performance of the current host.
Extra context about the network path used during the test.
Successful responses expose success: true.
{"timestamp": "2026-03-24T19:30:00.000Z","ping": {"jitter": 0.5,"latency": 2.1},"download": {"bandwidth": 291944,"bytes": 3036488,"elapsed": 10604},"upload": {"bandwidth": 262287,"bytes": 1838732,"elapsed": 6905},"packetLoss": 0,"isp": "Awesome ISP provider","success": true}
Use this method when the error history should be cleared before a new test or recovery cycle so fresh issues are easier to isolate.
curl --request POST \--url http://localhost/api/utils/clearErrorLogs \--header 'x-access-token: <your_api_token>' \--header 'Content-Type: application/json' \--data '{}'
The backend confirms that both process and SRT error buffers were cleared.
{"success": true}
Use this method when the team needs quick geographic context for a remote endpoint or IP address during troubleshooting, access review, or incident triage.
IPv4 address that should be resolved into a lightweight geographic hint.
curl --request POST \--url http://localhost/api/utils/getLocation \--header 'x-access-token: <your_api_token>' \--header 'Content-Type: application/json' \--data '{"ip": "1.1.1.1"}'
Location metadata returned for the requested IP address.
{"range": [16843008,16843263],"country": "AU","timezone": "Australia/Sydney","city": "","ll": [-33.494,143.2104],"area": 1000}