addedInput schema / properties / entries
Added value: +{
+ "default": "all",
+ "description": "usage only: which ledger rows: all (default), ai-usage, model-run, plan or funds.",
+ "enum": [
+ "all",
+ "ai-usage",
+ "model-run",
+ "plan",
+ "funds"
+ ],
+ "type": "string"
+}
changedInput schema / properties / kind / description
Previous value: -"usage for credits and spending, logs for one day of activity, log_dates for the days that have a log."New value: +"usage for spending and the ledger, logs for one day of activity, log_dates for the days that have a log."
addedOutput schema / properties / logs / properties / events / items / properties / costEstimate
Added value: +{
+ "description": "true when costUsd is an estimate: the turn's model calls priced at the agent's rates, not what was billed. Wiro marks it so when it measures the agent's model calls itself. What was billed is in the agent's ai-usage rows (kind usage), which add calls up across turns, carry what is left under a cent to the next row and can count calls the turn's row does not. Absent when costUsd is what was billed.",
+ "type": "boolean"
+}
addedOutput schema / properties / logs / properties / events / items / properties / costUsd
Added value: +{
+ "description": "What the event cost, in USD. An estimate, not what was billed, when costEstimate is true.",
+ "type": "number"
+}
removedOutput schema / properties / logs / properties / events / items / properties / credits
Removed value: -{
- "type": "number"
-}
removedOutput schema / properties / logs / properties / events / items / properties / remainingCredits
Removed value: -{
- "type": "number"
-}
addedOutput schema / properties / logs / properties / events / items / properties / status
Added value: +{
+ "description": "On a tool call that neither ran nor failed, in place of ok and error: held, a Connector action that waits for a person's approval on its approval card, paused, a call refused while a person had Take Control of the agent's screen, or blocked, a Connector action refused because its permission is Block.",
+ "enum": [
+ "held",
+ "paused",
+ "blocked"
+ ],
+ "type": "string"
+}
removedOutput schema / properties / usage / properties / balance
Removed value: -{
- "additionalProperties": false,
- "properties": {
- "extraCredits": {
- "type": "number"
- },
- "monthlyCredits": {
- "description": "The monthly credits this period grants. A plan change inside a period moves it for the time left.",
- "type": "number"
- },
- "period": {
- "type": "string"
- },
- "remainingCredits": {
- "type": "number"
- },
- "renewalCredits": {
- "description": "The monthly credits each renewal grants.",
- "type": "number"
- },
- "usedCredits": {
- "type": "number"
- }
- },
- "required": [
- "monthlyCredits",
- "extraCredits",
- "usedCredits",
- "remainingCredits"
- ],
- "type": "object"
-}
removedOutput schema / properties / usage / properties / byModel
Removed value: -{
- "items": {
- "additionalProperties": false,
- "properties": {
- "credits": {
- "type": "number"
- },
- "model": {
- "type": "string"
- },
- "tokens": {
- "additionalProperties": false,
- "properties": {
- "cacheRead": {
- "type": "number"
- },
- "cacheWrite": {
- "type": "number"
- },
- "input": {
- "type": "number"
- },
- "output": {
- "type": "number"
- },
- "total": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "turns": {
- "type": "number"
- }
- },
- "required": [
- "model",
- "tokens",
- "credits",
- "turns"
- ],
- "type": "object"
- },
- "type": "array"
-}
addedOutput schema / properties / usage / properties / entries
Added value: +{
+ "enum": [
+ "all",
+ "ai-usage",
+ "model-run",
+ "plan",
+ "funds"
+ ],
+ "type": "string"
+}
removedOutput schema / properties / usage / properties / extraPacks
Removed value: -{
- "items": {
- "additionalProperties": false,
- "properties": {
- "credits": {
- "type": "number"
- },
- "purchasedAt": {
- "type": "string"
- },
- "remainingCredits": {
- "type": "number"
- },
- "status": {
- "type": "string"
- }
- },
- "required": [
- "credits",
- "remainingCredits"
- ],
- "type": "object"
- },
- "type": "array"
-}
addedOutput schema / properties / usage / properties / summary
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "aiUsageBalanceUsd": {
+ "description": "AI usage this month paid from the Wiro balance.",
+ "type": "number"
+ },
+ "aiUsagePlanUsd": {
+ "description": "AI usage this month that the plan covered, over every plan period the month holds.",
+ "type": "number"
+ },
+ "fundsAddedUsd": {
+ "description": "Funds added to the balance from the agent's page this month.",
+ "type": "number"
+ },
+ "includedUsd": {
+ "description": "The AI usage the plan includes each plan period, renewal to renewal, not a calendar month's: a month that holds a renewal can show more AI usage the plan covered than this.",
+ "type": "number"
+ },
+ "legacy": {
+ "description": "true when Wiro answered without these amounts, so they were worked out from its older fields: month is then the plan period, and both amounts count that period.",
+ "type": "boolean"
+ },
+ "modelRunsUsd": {
+ "description": "Model runs the agent started this month.",
+ "type": "number"
+ },
+ "month": {
+ "description": "The calendar month (UTC), as YYYY-MM, that every amount but includedUsd covers.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}
removedOutput schema / properties / usage / properties / transactions / items / properties / action
Removed value: -{
- "type": "string"
-}
addedOutput schema / properties / usage / properties / transactions / items / properties / amountUsd
Added value: +{
+ "description": "Absent when Wiro kept no amount: a plan payment recorded before Wiro kept what was paid.",
+ "type": "number"
+}
removedOutput schema / properties / usage / properties / transactions / items / properties / balanceAfter
Removed value: -{
- "type": [
- "number",
- "null"
- ]
-}
addedOutput schema / properties / usage / properties / transactions / items / properties / costs
Added value: +{
+ "additionalProperties": false,
+ "description": "What each kind of token cost, in USD, before the row was rounded to whole cents.",
+ "properties": {
+ "cacheRead": {
+ "type": "number"
+ },
+ "cacheWrite": {
+ "type": "number"
+ },
+ "input": {
+ "type": "number"
+ },
+ "output": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+}
removedOutput schema / properties / usage / properties / transactions / items / properties / credits
Removed value: -{
- "type": "number"
-}
removedOutput schema / properties / usage / properties / transactions / items / properties / description
Removed value: -{
- "type": "string"
-}
addedOutput schema / properties / usage / properties / transactions / items / properties / direction
Added value: +{
+ "description": "out for spending, in for funds added.",
+ "enum": [
+ "out",
+ "in"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / usage / properties / transactions / items / properties / kind
Added value: +{
+ "description": "ai-usage (the agent's chat and scheduled tasks), model-run (a model the agent ran), plan (a plan payment) or funds (funds added from the agent's page). A row from an older Wiro release keeps the type it was recorded with.",
+ "type": "string"
+}
addedOutput schema / properties / usage / properties / transactions / items / properties / legacy
Added value: +{
+ "description": "A row recorded before agents were billed in USD, shown in USD.",
+ "type": "boolean"
+}
removedOutput schema / properties / usage / properties / transactions / items / properties / paidBy
Removed value: -{
- "type": "string"
-}
addedOutput schema / properties / usage / properties / transactions / items / properties / paidFrom
Added value: +{
+ "description": "plan (the usage the plan includes), balance (the Wiro balance), card or coupon.",
+ "type": "string"
+}
removedOutput schema / properties / usage / properties / transactions / items / properties / processedMs
Removed value: -{
- "type": "number"
-}
addedOutput schema / properties / usage / properties / transactions / items / properties / surface
Added value: +{
+ "type": "string"
+}
addedOutput schema / properties / usage / properties / transactions / items / properties / title
Added value: +{
+ "type": "string"
+}
removedOutput schema / properties / usage / properties / transactions / items / properties / type
Removed value: -{
- "type": "string"
-}
changedOutput schema / properties / usage / properties / transactions / items / required
Previous value: -[
- "type",
- "credits",
- "balanceAfter"
-]New value: +[
+ "kind"
+]
changedOutput schema / properties / usage / required
Previous value: -[
- "total",
- "start",
- "limit",
- "nextStart",
- "balance",
- "extraPacks",
- "byModel",
- "transactions"
-]New value: +[
+ "total",
+ "start",
+ "limit",
+ "nextStart",
+ "entries",
+ "summary",
+ "transactions"
+]