gateway_cost_report
Track API usage costs and call statistics with session-level breakdowns across backends and tools. View spending for current sessions or all keys with 24-hour, 7-day, and 30-day rolling windows.
Instructions
Return current session and API-key spend. Includes total cost, call count, and breakdown by backend and tool. Per-key totals are shown for 24 h / 7 d / 30 d rolling windows.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_all_keys | No | Return all API key accumulators (admin view). Default false. | |
| include_all_sessions | No | Return all active sessions (admin view). Default false. | |
| session_id | No | Specific session ID to report on. Defaults to current session. |