---
title: "Get traffic usage"
method: POST
path: "/kvm/v2/get/traffic"
tags: ["Collect Information"]
---

# Get traffic usage

`POST /kvm/v2/get/traffic`

This endpoint retrieves network traffic usage details for the specified KVM VPS.  
The `api_host` parameter, obtained from the **"Create AUTH-session"** response,  
is dynamically set in the URL.  
Provide the `signature`, `kvm_id`, and `valid_until` parameters obtained  
from the same response to access traffic data.

## Response `200`

Traffic data retrieved successfully.

- InlineResponse20011
  - `status` string
  - `data` InlineResponse20011Data
    - `included_bytes` integer
    - `days_remaining` integer
    - `last_updated` string
    - `rx_bytes` string
    - `tx_bytes` string
    - `rx_packets` string
    - `tx_packets` string
  - `chart_daily` string — JSON string containing daily traffic chart data.
  - `chart_monthly` string — JSON string containing monthly traffic chart data.

## Other responses

- `400` — Bad Request - Invalid parameters or missing fields.
- `401` — Unauthorized - The session signature is invalid or expired.
- `403` — Forbidden - The client does not have permission to access this resource.
- `500` — Internal Server Error - An unexpected error occurred.

---

[API](https://skmtc.net/edisglobal/apis/edis-global-management-api.md) · [All operations](https://skmtc.net/edisglobal/apis/edis-global-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/edisglobal/edis-global-management-api/versions/223263c91ac0/schema)
