HTTP API
RunNonTokenCost
What a run spent that is not tokens: the amounts its workflow function nodes and its tools reported, added up in one currency.
Shape: object
| Property | Required | Type | Description | Rules |
|---|---|---|---|---|
amount |
no | number (double) |
Gets the sum of the reported amounts that were added, or null when no reported item carried an amount in Currency. |
pattern `^-?(?:0\ |
currency |
no | string |
Gets the currency of Amount, taken from Tracon:Pricing:Currency (an item that names no currency is in it). |
— |
isEstimated |
no | boolean |
Gets whether any added amount rests on an estimated quantity (ToolCallUsage.IsEstimated). |
— |
unsummedItemCount |
no | integer (int32) |
Gets how many reported items are not part of Amount: items with no amount, and items in another currency than Currency. |
pattern `^-?(?:0\ |
currencyCount |
no | integer (int32) |
Gets how many currencies the added amounts are in: 0 or 1 for one run, which adds in one currency. | pattern `^-?(?:0\ |