v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Cloud Cost Management

Search cost recommendations

List cost recommendations matching a filter, with pagination and sorting.

post/api/v2/cost/recommendations

Query parameters

page[size]string

Number of results per page (1–10000).

page[token]string

Pagination token from a previous response.

Request body

filterstring

Filter expression applied to the recommendations.

viewstring

Active view name (for example, active, dismissed, open, in-progress, or completed).

Example request

{
  "filter": "@resource_table:aws_ec2_instance",
  "sort": [
    {
      "expression": "potential_daily_savings.amount",
      "order": "DESC"
    }
  ]
}

Response

OK

Example response

{
  "data": [
    {
      "type": "recommendation"
    }
  ]
}