Traffic Pool

Get Hydration Log

This endpoint retrieves the hydration (refill) log for a specified KVM VPS.
The api_host parameter, obtained from the "Create AUTH-session" response,
is dynamically set in the URL.
Use the query parameter to filter the log by client or kvm.

post/kvm/v2/get/refill_log

Request

Request body application/x-www-form-urlencoded

signaturestring

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

kvm_idstring

The unique identifier of the KVM VPS.

valid_untilstring

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

querystring

Filter for the hydration log.
Acceptable values: client or kvm.

Example request

{
  "signature": "session_signature_12345",
  "kvm_id": "kvm_123456_789012",
  "valid_until": "1737476000",
  "query": "client"
}

Response

Hydration log retrieved successfully.

statusstring

The status of the operation.

Example response

{
  "status": "success",
  "log": [
    {
      "ts": "2023-03-29 09:47:10",
      "gbytes": "100",
      "kvm": "kvm_123456_789012"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.