Skip to content

UsageBreakdown

A range’s usage grouped by one dimension, such as by namespace or by model. Drill in by filtering on a row’s key.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
fromdatetimeThe start of the range, in UTC.
todatetimeThe end of the range, in UTC.
groupBystringThe dimension the usage is grouped by.
sortstringThe measure the rows are ordered by.
totalUsageTotalsThe totals for the whole filtered range.
rowsUsageBreakdownRow[]The largest groups by sort, descending (then by key).
otherUsageTotals| nullThe groups past the limit, summed; null when there are none.
otherCountintegerHow many groups are summed into other.
{
"from": "2026-10-26T12:00:00.0000000Z",
"to": "2026-10-26T12:00:00.0000000Z",
"groupBy": "...",
"sort": "...",
"total": {
"runs": 0,
"runtimeMs": 0,
"executionMs": 0,
"steps": 0,
"stepRuntimeMs": 0,
"toolCalls": 0,
"tokens": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"reasoning": 0,
"total": 0
},
"webSearches": 0,
"webPages": 0,
"webDownloads": 0,
"imageDescriptions": 0,
"webCredits": 0,
"webBytes": 0
},
"rows": [
{
"key": "...",
"label": "...",
"detail": "...",
"totals": {}
}
],
"other": {
"runs": 0,
"runtimeMs": 0,
"executionMs": 0,
"steps": 0,
"stepRuntimeMs": 0,
"toolCalls": 0,
"tokens": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"reasoning": 0,
"total": 0
},
"webSearches": 0,
"webPages": 0,
"webDownloads": 0,
"imageDescriptions": 0,
"webCredits": 0,
"webBytes": 0
},
"otherCount": 0
}