Skip to main content
GET
Get resource usage over time

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sailbox_id
string
required

Id of the Sailbox, as returned by create. It is sb_ followed by a UUID.

Pattern: ^sb_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Query Parameters

range
enum<string>
default:24h

Window to cover. Shorter windows return finer samples.

Available options:
1h,
6h,
24h,
7d,

Response

The usage series.

range
string
required

Window the series covers.

data
object[]
required

Samples, oldest first.