@@ -104034,7 +104034,9 @@ components:
104034104034 $ref: "#/components/schemas/RecommendationsFilterRequestSortItems"
104035104035 type: array
104036104036 view:
104037- description: Active view name (for example, `active`, `dismissed`, `open`, `in-progress`, or `completed`).
104037+ description: |-
104038+ Status view to return: `all`, `active` (not dismissed), `dismissed`, `open`, `in-progress`,
104039+ or `completed`. Defaults to `all`, which returns recommendations in every status.
104038104040 type: string
104039104041 type: object
104040104042 RecommendationsFilterRequestDataType:
@@ -104047,7 +104049,9 @@ components:
104047104049 x-enum-varnames:
104048104050 - RECOMMENDATIONS_FILTER
104049104051 RecommendationsFilterRequestScope:
104050- description: Recommendations scope. Defaults to `ccm`; use `experiment` for experimental recommendations or `*` for both.
104052+ description: |-
104053+ Recommendations scope. Defaults to `ccm`; use `experiment` for experimental recommendations
104054+ or `*` for both.
104051104055 enum:
104052104056 - ccm
104053104057 - experiment
@@ -104083,9 +104087,9 @@ components:
104083104087 description: Opaque token used to fetch the next page; absent on the last page.
104084104088 type: string
104085104089 page_size:
104086- description: Number of items returned in this page (1–10000 ).
104090+ description: Number of items returned in this page (1–5000 ).
104087104091 format: int32
104088- maximum: 10000
104092+ maximum: 5000
104089104093 minimum: 1
104090104094 type: integer
104091104095 page_token:
@@ -161228,11 +161232,15 @@ paths:
161228161232 description: List cost recommendations matching a filter, with pagination and sorting.
161229161233 operationId: SearchCostRecommendations
161230161234 parameters:
161231- - description: Number of results per page (1–10000) .
161235+ - description: Number of results per page, from 1 to 5000. Defaults to 50 .
161232161236 in: query
161233161237 name: page[size]
161234161238 schema:
161235- type: string
161239+ default: 50
161240+ format: int32
161241+ maximum: 5000
161242+ minimum: 1
161243+ type: integer
161236161244 - description: Pagination token from a previous response.
161237161245 in: query
161238161246 name: page[token]
@@ -161279,11 +161287,16 @@ paths:
161279161287 meta:
161280161288 page:
161281161289 filter: "@resource_table:aws_ec2_instance"
161282- next_page_token: ""
161283161290 page_size: 100
161284161291 schema:
161285161292 $ref: "#/components/schemas/CostRecommendationArray"
161286161293 description: OK
161294+ "400":
161295+ content:
161296+ application/json:
161297+ schema:
161298+ $ref: "#/components/schemas/JSONAPIErrorResponse"
161299+ description: Bad Request
161287161300 "429":
161288161301 $ref: "#/components/responses/TooManyRequestsResponse"
161289161302 security:
@@ -161294,6 +161307,10 @@ paths:
161294161307 summary: Search cost recommendations
161295161308 tags:
161296161309 - Cloud Cost Management
161310+ x-permission:
161311+ operator: OR
161312+ permissions:
161313+ - cloud_cost_management_read
161297161314 x-unstable: |-
161298161315 **Note**: This endpoint is in preview and is subject to change.
161299161316 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
0 commit comments