Get sandbox usage
Machine time one sandbox consumed and its cost, over its life or a billing window, for per-sandbox billing of your own users.
Authorizations
Boat bearer token in the form boat_.... Service API keys authenticate sandbox operations.
Path Parameters
Public Sandbox id returned by create/list/get sandbox calls.
^bx_[23456789abcdefghjkmnpqrstuvwxyz]{8}$Query Parameters
Count from this time, ISO 8601 or Unix epoch seconds. Default is the sandbox's creation.
Count up to this time, ISO 8601 or Unix epoch seconds. Default is now.
Response
Billable machine time for the sandbox inside the window.
true
Stable success envelope discriminator added by v1.
"sandbox.usage"
^bx_[23456789abcdefghjkmnpqrstuvwxyz]{8}$"bx_23456789"
The sandbox's current machine size, which sets billingMultiplier.
small, default, large, xlarge Rate at which this sandbox 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 sandbox'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 sandbox that ran ten minutes reads 1200. Includes a running sandbox'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 sandbox is up and no refused stop is holding it paused. Read again after it stops for the final figure. false on a sandbox that is up but paused past a refused stop, whose figure will not change until it is used again.