POST
/
kvm
/
v2
/
get
/
cpu_usage
curl --request POST \
  --url https://{api_host}.edisglobal.com/kvm/v2/get/cpu_usage \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data signature=session_signature_12345 \
  --data kvm_id=kvm_100200_300400 \
  --data valid_until=2025-01-12T15:30:00Z
{
  "status": "success",
  "chart_cpu": "{\"datasets\":[{\"label\":\"CPU usage [%]\",\"type\":\"line\",\"borderWidth\":1,\"borderColor\":\"#46A546\",\"backgroundColor\":\"#46A546\",\"yAxisID\":\"y\",\"data\":[12,10,12,12,12,12,10,14,12,10,12,10,10,12,10,12,14,10,12,12,12,12,15,14,12,12,12,10,10,12,12,12,12,12,12,12,14,12,12,12,12,12,12,14,12,12,12,12,14,10,14,10,12,12,12,10,10,12,12,15,12,12,12,10,12,12,14,12,12,12,15,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,10,12,14,12,12,14,14,12,12,14,12,14,12,14,14,12,12,12,14,12,14,14,12,14,12,10,12,12,12,12,12,14,12,10,12,10,14,12,12,12,14,14,10,14,12,45,10,62,12,14,12,12,14,14,12,10,14,14,12,12,12,12,14,12,12,12,12,14,12,10,10,10,12,12,12,12,12,12,14,12,12,12,12,12,12,14,12,14,14,12,12,12,12,14,10,14,34,14,12,56,12,12,45,12,12,12,10,12,12,12,14,10,12,14,10,12,12,14,17,12,12,12,12,12,44,15,14,12,12,14,12,14,12,12,12,12,14,12,14,14,14,14,12,12,12,12,12,12,12,14,14,10,14,12,14,14,14,12,10,14,14,12,12,12,12,14,14,12,56,12,12,14,15,12,12,12,12,12,12,12,12,10,12,12,12,14,56,12,12,14,10,14,45,14,27,14,12,14,15,12,14,12,14,10,12,12,14,15,14,14,12,10,14,12,12,12,12,14,14,14,12,12,12,14,14,10,12,12,14,12,12,12,12,12,10,10,14,12,12,12,12,12,12,14,12,14,14,10,30,14,12,14,12,14,12,12,12,12,10,12,14,10,10,12,12,12,17,12,12,12,12,10,14,12,10,12,12,12,10,10,12,12,12,12,14,10,12,14,12,12,12,12,12,12,12,12,12,14,10,12,12,14,14,12,12,14,10,10,10,12,14,12,12,12,12,12,10,12,10,12,12,12,12,10,12,12,12,12,49,12,12,19,12,12,10,12,10,12,12,12,12,14,12,12,12,12,12,12,12,12,12,12,12,12,14,10,10,10,12,12,12,12,12,10,14,14,10,12,12,12,12,12,12,12,12,12,12,10,12,12,10,14,14,10,12,14,12,12,12,12,12,14,12,12,14,12,12,12,14,14,12,12,12,12,14,12,12,14,10,12,12,12,12,12,14,10,12,10,12,12,12,12,12,10,12,14,14,12,12,12,14,12,12,12,12,14,12,17,14,10,12,14,12,12,12,14,12,12,14,10,14,10,14,14,14,12,12,14,14,14,12,12,10,14,14,14,14,12,12,12,14,12,12,12,14,12,12,12,12,12,14,14,12,14,12,14,14,12,12,14,12,12,14,12,14,12,12,12,12,12,12,14,14,12,15,10,14,10,12,10,10,12,12,12,12,12,12,14,12,12,12,12,12,12,12,12,12,12,14,14,12,12,12,15,12,14,15,12,12,14,14,12,12,12,10,12,12,12,14,12,12,12,12,14,14,12,12,12,14,12,14,14,12,10,12,12,12,12,12,14,14,14,15,12,12,10,14,14,14,12,12,14,12,12,12,12,12,44,14,15,12,12,12,12,12,12,14,12,12,12,10,10,14,12,12,15,14,12,10,12,12,12,14,12,10,14,12,14,14,12,12,12,12,20,14,12,12,12,12,14,12,15,14]}],\"labels\":[\"08:05\",\"10:02\"]}"
}

Body

application/x-www-form-urlencoded
Required parameters to fetch CPU usage statistics for a KVM VPS. All parameters must be passed in the request body as `application/x-www-form-urlencoded`.
signature
string

The session signature obtained from the "Create AUTH-session" call.

kvm_id
string

The unique identifier of the KVM VPS to retrieve CPU usage data for.
This value is specific to your VPS.

valid_until
string

The expiration timestamp for the session, obtained from the "Create AUTH-session" call.
Ensure that the session is valid and has not expired.

Response

200
application/json
CPU usage data retrieved successfully.
status
string
chart_cpu
string

JSON string containing CPU usage chart data.