b92f75fd3b61
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.
Query parameters
Range start (ISO date or datetime, UTC); ignored when full_history=true
Range start (ISO date or datetime, UTC); ignored when full_history=true
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
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
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.
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