Get VM performance metrics

Retrieve detailed performance data for your virtual server, including CPU usage, memory consumption, disk activity, and network traffic. This is useful for monitoring server health and identifying potential performance issues.

VPS Services Monitoring & Jobs

Context

Used in the dashboard

/instance/[id]

Where to get IDs / values

Path Parameters

vmid integer · min: 1 required Example: 10000

Unique vmid identifier

Query Parameters

timeframe string required · Example: day

Headers

Accept Example
Content-Type Example

Responses

200

No response body

GET https://cloud.hostup.se/api/vm/{vmid}/metrics
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/vm/10000/metrics?timeframe=day" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
"{\"success\":true,\"timestamp\":\"2026-02-10T00:00:00.000Z\",\"requestId\":\"4d1ef01a-6d62-494a-a036-bea38721fd79\",\"data\":{\"timestamps\":[1769680740000,1769680800000,1769680860000,1769680920000,1769680980000,1769681040000,1769681100000,1769681160000,1769681220000,1769681280000,1769681340000,1769681400000,1769681460000,1769681520000,1769681580000,1769681640000,1769681700000,1769681760000,1769681820000,1769681880000,1769681940000,1769682000000,1769682060000,1769682120000,1769682180000,1769682240000,17696823..."