Skip to content

UsageBreakdownRow

One group of a UsageBreakdown.

Kind: an object, used in responses.

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

FieldTypeDescription
keystring | nullThe value to pass to the dimension’s filter to drill into this row; null means “no value” (~none).
labelstring | nullA display name where the key is an id (definition, root, trigger) or a namespace; otherwise null.
detailstring | nullThe kind of run for definition, version and root rows; what started the runs for trigger rows.
totalsUsageTotalsThe group’s usage.
{
"key": "...",
"label": "...",
"detail": "...",
"totals": {
"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
}
}