Skip to main content
GET
Get token and cost totals over a time window, overall, per agent and per model, across the org units the key holds cost:read at.

Authorizations

Authorization
string
header
required

A platform API key, created in the Console under Developers. Pass as Authorization: Bearer <key>. It acts as itself, under its role grants narrowed by its scopes.

Query Parameters

orgUnitId
string
startTime
number
required
endTime
number
required

Response

Get token and cost totals over a time window, overall, per agent and per model, across the org units the key holds cost:read at.

data
null | object
required
meta
object
required