Skip to main content
GET
Get one usage graph

Authorizations

Authorization
string
header
required

Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

Path Parameters

server
string
required

The server UUID

Example:

"ecc6f4f1"

type
string
required

The type ID.

Example:

"cpu"

period
string
required

The period ID.

Example:

"day"

Query Parameters

aggregation
string
default:average

How samples inside a bucket are consolidated. "average" smooths the window out; "maximum" keeps the peak, which is what you want when hunting a short spike that an average would hide entirely.

Example:

"maximum"

Response

The whole set, as a JSON array. There is no envelope and no paging.

{key}
number
Example:

0.25

Example: