• Home
  • API
  • Account management
  • Dynatrace Platform Subscription
  • Cost monitors
  • GET forecast

Dynatrace Platform Subscription API - GET forecast

Gets a forecast of Dynatrace Platform Subscription usage by the end of the annual commitment period.

The request produces an application/json payload.

GET

https://api.dynatrace.com/sub/v2/accounts/{accountUuid}/subscriptions/forecast

Authentication

To execute this request, you need the Allow read access for usage and consumption resources (account-uac-read) scope assigned to your token. To learn how to obtain and use it, see Authentication.

Parameters

ParameterTypeDescriptionInRequired
accountUuidstring

The ID of the required account.

You can find the UUID on the Account > Account management API page, during creation of an OAuth client.

pathrequired

Response

Response codes

CodeTypeDescription
200Forecast-
400

The request was unacceptable, often due to missing a required parameter

401

The bearer token is incorrect/expired or the requested account information does not match the bearer token

403

Access denied

404

The requested resource was not found

500

Something went wrong on Account Management API's end

Response body objects

The Forecast object

ElementTypeDescription
forecastMediannumber

The median of the forecast snapshot.

forecastLowernumber

The lower bound for the forecast snapshot.

forecastUppernumber

The upper bound for the forecast snapshot.

budgetnumber

The budget for the forecast snapshot.

forecastBudgetPctnumber

The budget percent for the forecast snapshot.

forecastBudgetDatestring

The date the forecast snapshot's budget reached the quota amount.

forecastCreatedAtstring

The date the forecast snapshot was created.

Response body JSON model

json
{ "forecastMedian": 1, "forecastLower": 1, "forecastUpper": 1, "budget": 1, "forecastBudgetPct": 1, "forecastBudgetDate": "string", "forecastCreatedAt": "string" }