Spend and ledger
everyinfra_billingSpend in USD for the last N days: the total, by platform, charged / free / failed call counts and the current discount, plus recent wallet entries (top-ups, charges, refunds, bonuses). Needs the account read permission "billing:read" on this key: keys not limited to product lines have the three read permissions by default; for a key limited to product lines, the account owner turns it on in the console (API Keys → permissions). Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days, default 30 | |
| ledger_limit | No | Wallet entries, default 10 |