You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Type of the Cloud Cost Management tag metadata month resource.
19916
+
enum:
19917
+
- cost_tag_metadata_month
19918
+
example: cost_tag_metadata_month
19919
+
type: string
19920
+
x-enum-varnames:
19921
+
- COST_TAG_METADATA_MONTH
19922
+
CostTagMetadataMonthsResponse:
19923
+
description: List of months that have Cloud Cost Management tag metadata for the requested provider, ordered most-recent first and capped at 36 months.
19924
+
example:
19925
+
data:
19926
+
- id: "2026-04"
19927
+
type: cost_tag_metadata_month
19928
+
- id: "2026-03"
19929
+
type: cost_tag_metadata_month
19930
+
properties:
19931
+
data:
19932
+
description: List of months that have tag metadata available.
19933
+
items:
19934
+
$ref: "#/components/schemas/CostTagMetadataMonth"
19935
+
type: array
19936
+
required:
19937
+
- data
19938
+
type: object
19900
19939
CostTagType:
19901
19940
default: cost_tag
19902
19941
description: Type of the Cloud Cost Management tag resource.
@@ -111135,6 +111174,68 @@ paths:
111135
111174
x-unstable: |-
111136
111175
**Note**: This endpoint is in preview and is subject to change.
111137
111176
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
111177
+
/api/v2/cost/tag_metadata/months:
111178
+
get:
111179
+
description: |-
111180
+
List months that have Cloud Cost Management tag metadata for a given provider,
111181
+
ordered most-recent first. The response is capped at 36 months.
111182
+
operationId: ListCostTagMetadataMonths
111183
+
parameters:
111184
+
- description: |-
111185
+
Provider to scope the query to. Use the value of the `providername` tag in CCM
111186
+
(for example, `aws`, `azure`, `gcp`, `Oracle`, `Confluent Cloud`, `Snowflake`).
111187
+
For costs uploaded through the Custom Costs API, use `custom`.
# List months that have Cloud Cost Management tag metadata for a given provider,
3053
+
# ordered most-recent first. The response is capped at 36 months.
3054
+
#
3055
+
# @param filter_provider [String] Provider to scope the query to. Use the value of the `providername` tag in CCM (for example, `aws`, `azure`, `gcp`, `Oracle`, `Confluent Cloud`, `Snowflake`). For costs uploaded through the Custom Costs API, use `custom`. Values are case-sensitive.
3056
+
# @param opts [Hash] the optional parameters
3057
+
# @return [Array<(CostTagMetadataMonthsResponse, Integer, Hash)>] CostTagMetadataMonthsResponse data, response status code and response headers
0 commit comments