Get AI usage
Proxied AI usage of every sandbox of the wallet in scope.
Authorizations
Boat bearer token in the form boat_.... Service API keys authenticate sandbox operations.
Headers
Same as the org query parameter. Query wins when both are set.
Query Parameters
Days of history, today included.
1 <= x <= 365A credential profile id. Counts that profile's requests instead of a wallet's.
Billing wallet for this request: an organization you belong to, by id (team_…) or by name as GET /orgs lists it (case-insensitive), or personal. Omitted, the account's active wallet applies (PATCH /orgs/active; personal until set). Two organizations sharing the name answer 409 ambiguous_org and need the id. Sandboxes and snapshots stay creator-private. On /environments routes, only this query parameter selects the organization's shared environments; the X-Boat-Org header and the active wallet do not apply there. Members read them, owners and admins change them.
Response
The usage.
true
Stable success envelope discriminator added by v1.
The wallet the usage is charged to. Null with profile.
The credential profile whose requests are counted. Null without profile.
First UTC day included.
Token counts are the numbers the provider reports in its replies.