Query entity token usage
Reports how many tokens each entity consumed, for one organization over a date range. The request body takes startDate, endDate and an interval, the same shape the other analytics measures take.
POST
Query entity token usage
Body
application/json
Response
200 - application/json
Returns two parallel breakdowns of the organization's tokens, one array of workspaces and one of projects, each row pairing an ID with the tokens it used. Neither is split by model or by time.
Query entity token usage