Additional utilities
Use these methods to inspect an Engine instance, measure current network throughput, look up its detected location, or clear collected error logs.
getLocation is public. getStat, speedTest, and clearErrorLogs require x-access-token.
Operational boundaries
Run a speed test outside a live production window: it measures the current path and can compete with live traffic. Location is an operational hint, not precise physical geolocation. Clearing error logs is irreversible; retain evidence needed for support before calling it.
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
}Workflow examples and help
Preflight an instance network before a live event
Resolve the public location signal and run a speed test as one part of deployment validation before connecting live sources.
- Confirm public locationUse the resolved address data to catch an unexpected deployment region.
POST /api/utils/getLocation - Run the preflight testRecord the result beside the real SRT or RTMP path test.
POST /api/utils/speedTest
A speed test is a point-in-time signal, not a capacity guarantee. Validate sustained throughput, packet loss, latency, and the real media path.