Skip to main content
GET
Get container metrics

Authorizations

Authorization
string
header
required

An admin API key. Personal admin keys reach the API key, billing and Account endpoints for the creator's personal account; the other endpoints need an organization admin key. Security requirement entries list the permission a scoped key needs for the operation.

Scopes

containers.metrics.read

Path Parameters

id
string<uuid>
required

Query Parameters

time
enum<string>
default:24h

Time window to report.

Available options:
5m,
15m,
30m,
1h,
24h,
today,
7d,
30d,
60d,
90d,
180d,
365d,
3mo,
6mo,
12mo,
all

Response

Metrics series

data_points
object[]
required
interval
string
required

Bucket width as a Go duration string, for example 15m0s.