Skip to main content
Export grouped managed and BYOK sandbox usage as CSV

Authorizations

Authorization
string
header
required

BoxRouter API key; never an upstream provider key.

Query Parameters

from
string<date>
required
Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
to
string<date>
required
Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
group_by
enum<string>
default:provider
Available options:
provider,
day,
key,
sandbox
provider
string

Restrict rows to this provider before grouping; values use canonical provider identifiers.

Required string length: 1 - 64
Pattern: ^[a-z][a-z0-9-]{0,63}$
cursor
string
Required string length: 1 - 512
limit
integer
default:100
Required range: 1 <= x <= 1000

Response

CSV export for the selected page. Header names are period, group_key, sandbox_count, compute_seconds_low, compute_seconds_high, compute_seconds_unknown_sandboxes, charge_usd, held_usd, byok_provider_cost_usd, and byok_provider_cost_unknown_sandboxes. Null values are empty CSV fields, distinct from numeric zero. For example, a row with an unknown group, compute interval, and BYOK provider cost could be:

The response is of type string.