Spend Log
spend_logRead-onlyIdempotent
What your calls cost: every charge on this account over the last hours (default 24), newest first, each with what it was for, the model, the tokens it was worth, the tokens actually taken, and the dollar value at Switch retail; plus totals, the current token balance, and what a token is worth. Use this to itemize Seed Audio, Sync 3 lip-sync, generate_sound and every video or picture call. Free to call.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | How far back to look, in hours (1 to 720, default 24). | |
| limit | No | How many charges at most (1 to 200, default 50). |