Cloud Cost Management
Search cost recommendations
List cost recommendations matching a filter, with pagination and sorting.
post/api/v2/cost/recommendations
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/cost/recommendations
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token scopes: cloud_cost_management_read
Query parameters
page[size]string
Number of results per page (1–10000).
page[token]string
Pagination token from a previous response.
Request body
Example request
{
"filter": "@resource_table:aws_ec2_instance",
"sort": [
{
"expression": "potential_daily_savings.amount",
"order": "DESC"
}
]
}Response
OK
Example response
{
"data": [
{
"type": "recommendation"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.