spend_report
Where did the credits go? Totals kie.ai spend from this server's task history (kie/assets/task-history.jsonl under the project root) over the last N days, grouped by model or day.
Instructions
Where did the credits go? Totals kie.ai spend from this server's task history (kie/assets/task-history.jsonl under the project root) over the last N days, grouped by model or day. Uses the ACTUAL credits kie charged when known, looks up missing ones from kie (refresh), and falls back to published prices (marked "est."). Failed tasks are listed separately (kie normally refunds them).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back window in days | |
| refresh | No | Look up actual charges from kie for tasks that lack them (up to 40 per call) | |
| group_by | No | model |