latestOpenAPI 3.1.02026-08-19270462702.4 KB

b92f75fd3b61

billing

Get Billing Usage Timeseries Routed Savings

Router savings bucketed by time interval for the home page chart.

The routers are retired (ENG-5673), so no new routed inferences are produced. When the requested window still contains routed traffic the points are the realized savings stamped on it; otherwise they are an estimate of what the router could have saved, derived from the team's real billed spend. The router_on flag on the response tells the client which regime applies so it can label/colour the line accordingly. scope='personal' narrows both paths to the requesting user.

get/billing/usage/timeseries-routed-savings

Query parameters

start_datestring nullable

Range start (ISO date or datetime, UTC); ignored when full_history=true

Range start (ISO date or datetime, UTC); ignored when full_history=true

end_datestring nullable

Range end (ISO date or datetime, UTC); with full_history, caps the window

Range end (ISO date or datetime, UTC); with full_history, caps the window

full_historyboolean

If true, span from the team's first request through end (or now); ignores start_date

If true, span from the team's first request through end (or now); ignores start_date

interval_minutesinteger

Bucket width in minutes (default 1440 = daily). Values >= 10080 bucket by week and >= 43200 by month so long ranges stay bounded in point count.

Bucket width in minutes (default 1440 = daily). Values >= 10080 bucket by week and >= 43200 by month so long ranges stay bounded in point count.

scope'team' | 'personal'

team (default) aggregates the active team's usage; personal narrows to the requesting user's own usage (home page toggle).

team (default) aggregates the active team's usage; personal narrows to the requesting user's own usage (home page toggle).

Response

Successful Response

router_onboolean