Get box usage
Machine time one box consumed and its cost, over its life or a billing window, for per-box billing of your own users.
Authorizations
Box bearer token in the form box_.... Service API keys authenticate Box operations.
Path Parameters
Public Box id returned by create/list/get box calls.
^bx_[23456789abcdefghjkmnpqrstuvwxyz]{8}$Query Parameters
Count from this time, ISO 8601 or Unix epoch seconds. Default is the box's creation.
Count up to this time, ISO 8601 or Unix epoch seconds. Default is now.
Response
Billable machine time for the box inside the window.
true
Stable success envelope discriminator added by v1.
"box.usage"
^bx_[23456789abcdefghjkmnpqrstuvwxyz]{8}$"bx_23456789"
The box's current machine size, which sets billingMultiplier.
small, default, large, xlarge Rate at which this box consumes machine time. 0.5 for small, 1 for default, 2 for large, and 50/9 for xlarge.
1
Start of the window the figures cover. The box's creation time when the request did not pass since.
End of the window. Now when the request did not pass until, or passed one in the future.
Billable machine-seconds inside the window, the type multiplier already applied: a large box that ran ten minutes reads 1200. Includes a running box's time up to until. Time while stopped is never counted and time past a refused stop is excluded.
4980
seconds at list price (seconds / secondsPerDollar), whatever plan, trial or gift actually paid for it. Up to six decimals.
0.0498
How many billable seconds one dollar buys, so you can price seconds yourself.
100000
The meter is still moving: the box is up and no refused stop is holding it paused. Read again after it stops for the final figure. false on a box that is up but paused past a refused stop, whose figure will not change until it is used again.