Skip to main content
GET
Get My Spend Forecast

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Response

200 - application/json

GetMetricForecastResponse contains the forecast for the requested metric.

GetMetricForecastResponse contains the forecast for the requested metric.

forecastPoints
Forecast Rollup · object[] | null

The forecasted data points (future points only).

historyDaysLoaded
integer<uint32>

The number of historical days loaded as context for the model (includes hidden history).

modelName
string

The model identifier used for inference.

observedThrough
string<date-time> | null