usage
Get cost forecast for a user
Uses historical usage data across all API keys owned by the user to predict future spending. Returns average daily spend, confidence intervals, and time series forecasts.
get/admin/v1/users/{user_id}/usage/forecast
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /admin/v1/users/{user_id}/usage/forecast
- Auth: HTTP bearer
Path parameters
user_idstring uuid required
User ID
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 1 revision of this API.