usage
Get cost forecast for a provider
Uses historical usage data across all API keys using this provider to predict future spending. Returns average daily spend, confidence intervals, and time series forecasts.
get/admin/v1/providers/{provider}/usage/forecast
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /admin/v1/providers/{provider}/usage/forecast
- Auth: HTTP bearer
Path parameters
providerstring required
Provider name
Query parameters
lookback_daysinteger nullable
Number of days of historical data to use (default: 30)
forecast_daysinteger nullable
Number of days to forecast ahead (default: 7)
Response
Cost forecast
Changes
No recorded changes to this operation across all 16 revisions of this API.