Billing

Get Usage Summary

Minimal usage summary for the billing page. Returns totals for the selected time window:

  • total_spending_usd
  • token_usage_usd
  • reads_count, reads_cost_usd
  • writes_count, writes_cost_usd
get/billing/usage/summary

Query parameters

rangestring

period|7d|30d|all

period|7d|30d|all

Headers

authorizationstring nullable
x_session_tokenstring nullable
X-API-Keystring nullable

Response

Successful Response

{"stackTrail":"paths:/billing/usage/summary:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes