UsageOutcomeTotals
The usage of the runs that ended one way (or are still in progress).
Kind: an object, used in responses.
Fields
Section titled “Fields”Every field is present in a response; empty ones are null.
| Field | Type | Description |
|---|---|---|
outcome | UsageOutcome | How the runs ended. |
totals | UsageTotals | Their usage. |
Example
Section titled “Example”{ "outcome": "InProgress", "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 }}Where it’s used
Section titled “Where it’s used”- Inside
UsageSummary