Belune
MetricsAdmin only

Get Metrics

GET
/api/metrics/host
AuthorizationBearer <token>

Personal access token whose scope satisfies metrics — metrics, read, deploy, or write all qualify (Belune's scopes form a total order).

In: header

Query Parameters

from?string
range?string
to?string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/metrics/host"
[  {    "cpu_percent": 0,    "disk_total": 0,    "disk_used": 0,    "memory_total": 0,    "memory_used": 0,    "recorded_at": "string"  }]