Get bandwidth usage

Returns the server's monthly bandwidth allowance and how much of it is used. Incoming and outgoing traffic is broken down by day across the requested window.

GET
/servers/{server}/bandwidth

Authorization

BearerToken
AuthorizationBearer <token>

In: header

Path Parameters

server*integer

The server ID

Query Parameters

filter[start]?integer

Unix timestamp for the start of the range. Defaults to 14 days ago and cannot be more than six months in the past.

filter[end]?integer

Unix timestamp for the end of the range. Defaults to now and cannot be more than an hour in the future.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/servers/0/bandwidth"
{  "limit": 0,  "used": 0,  "daily_usage": [    {      "timestamp": "string",      "incoming": 0,      "outgoing": 0    }  ]}