GetProjectedCost
Retrieve projected cost data for the current month across multi-org and single root-org accounts, with options to view costs at parent-org or sub-org levels and include connected partner accounts.
Instructions
Get projected cost across multi-org and single root-org accounts. Projected cost data is only available for the current month and becomes available around the 12th of the month.
This endpoint is only accessible for parent-level organizations.
Query Parameters:
view: String to specify whether cost is broken down at a parent-org level or at the sub-org level. Available views are
summary
andsub-org
. Defaults tosummary
.include_connected_accounts: Boolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults to
false
.
Responses:
200 (Success): OK
Content-Type:
application/json;datetime-format=rfc3339
Response Properties:
data: Response containing Projected Cost.
Example:
400: Bad Request
Content-Type:
application/json;datetime-format=rfc3339
Response Properties:
errors: A list of errors.
Example:
403: Forbidden - User is not authorized
Content-Type:
application/json;datetime-format=rfc3339
Response Properties:
errors: A list of errors.
Example:
429: Too many requests
Content-Type:
application/json;datetime-format=rfc3339
Response Properties:
errors: A list of errors.
Example:
Input Schema
Name | Required | Description | Default |
---|---|---|---|
include_connected_accounts | No | Boolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults to `false`. | |
view | No | String to specify whether cost is broken down at a parent-org level or at the sub-org level. Available views are `summary` and `sub-org`. Defaults to `summary`. |