API Reference (1.x)Client server
Resource usage
Retrieves resource utilization of the specified server
GET
/api/client/servers/{server}/resourcesAuthorization
ClientToken AuthorizationBearer <token>
Client API key (generated at /account/api)
In: header
Path Parameters
server*string
Server identifier (short 8-character ID)
Response Body
application/json
curl -X GET "https://example.com/api/client/servers/1a7ce997/resources"{ "object": "stats", "attributes": { "current_state": "starting", "is_suspended": false, "resources": { "memory_bytes": 588701696, "cpu_absolute": 0, "disk_bytes": 130156361, "network_rx_bytes": 694220, "network_tx_bytes": 337090 } }}Edit on GitHub
Last updated on