Skip to main content
List grouped managed and BYOK sandbox usage

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

One page of grouped usage with an observation timestamp and optional cursor.

as_of
string<date-time>
required

UTC timestamp of the repeatable-read snapshot used to compose this page.

data
object[]
required
next_cursor
string | null
required
Required string length: 1 - 512