Api reference
Get this machine's CPU, memory and disk usage, with recent CPU history
GET
/v1/machine/statsAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/machine/stats"{ "sampledAt": "string", "uptimeSeconds": 0, "cpu": { "model": "string", "cores": 0, "usedPercent": 0, "history": [ { "at": "string", "usedPercent": 0 } ] }, "gpu": { "model": "string", "cores": 0, "usedPercent": 0, "history": [ { "at": "string", "usedPercent": 0 } ] }, "memory": { "usedBytes": 0, "totalBytes": 0 }, "disk": { "usedBytes": 0, "totalBytes": 0 }}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}