v1

latestOpenAPI 3.0.3raw.githubusercontent.com2025-01-0926145.0 KB
KVM

Get current traffic usage

Retrieve the current month's traffic usage for the specified KVM server.

get/api/kvm/{internal_id}/traffic/current

Path parameters

internal_idstring required

internal_id of the KVM server

Response

Successful traffic usage retrieval

object required

Example response

{
  "status": "success",
  "message": "current traffic usage for June in GB is displayed below",
  "data": {
    "month": "JUNE",
    "usage": {
      "total": 7.12,
      "in": 6.53,
      "out": 0.59
    },
    "limit": {
      "monthly": 1000,
      "additional": null,
      "remaining": 994.06,
      "vm_status": "normal"
    }
  }
}