datadog_api_client 2.21.0 → 2.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +180 -637
  4. data/.generator/schemas/v2/openapi.yaml +515 -33
  5. data/.github/workflows/prepare_release.yml +2 -2
  6. data/.github/workflows/publish.yml +2 -2
  7. data/.github/workflows/release.yml +2 -2
  8. data/.github/workflows/test.yml +1 -1
  9. data/CHANGELOG.md +24 -0
  10. data/Gemfile +1 -1
  11. data/examples/v1/aws-integration/CreateAWSAccount.rb +1 -1
  12. data/examples/v1/aws-integration/CreateNewAWSExternalID.rb +1 -0
  13. data/examples/v1/aws-integration/UpdateAWSAccount.rb +1 -1
  14. data/examples/v1/synthetics/CreateSyntheticsAPITest_1241981394.rb +118 -0
  15. data/examples/v1/synthetics/UpdateBrowserTest.rb +3 -0
  16. data/examples/v2/apm-retention-filters/UpdateApmRetentionFilter.rb +2 -2
  17. data/examples/v2/authn-mappings/CreateAuthNMapping.rb +1 -1
  18. data/examples/v2/authn-mappings/UpdateAuthNMapping.rb +1 -1
  19. data/examples/v2/cloud-workload-security/CreateCSMThreatsAgentRule.rb +1 -1
  20. data/examples/v2/gcp-integration/CreateGCPSTSAccount.rb +1 -1
  21. data/examples/v2/gcp-integration/CreateGCPSTSAccount_109518525.rb +1 -1
  22. data/examples/v2/gcp-integration/CreateGCPSTSAccount_130557025.rb +1 -1
  23. data/examples/v2/gcp-integration/CreateGCPSTSAccount_194782945.rb +1 -1
  24. data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +1 -1
  25. data/examples/v2/gcp-integration/CreateGCPSTSAccount_4235664992.rb +1 -1
  26. data/examples/v2/gcp-integration/UpdateGCPSTSAccount.rb +1 -1
  27. data/examples/v2/gcp-integration/UpdateGCPSTSAccount_2241994060.rb +1 -1
  28. data/examples/v2/gcp-integration/UpdateGCPSTSAccount_3205636354.rb +1 -1
  29. data/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination.rb +4 -0
  30. data/examples/v2/metrics/QueryScalarData_3112571352.rb +2 -2
  31. data/examples/v2/metrics/QueryTimeseriesData_301142940.rb +3 -3
  32. data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression_3192265332.rb +19 -0
  33. data/examples/v2/security-monitoring/ValidateSecurityMonitoringRule.rb +42 -0
  34. data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +4 -0
  35. data/examples/v2/service-level-objectives/CreateSLOReportJob.rb +20 -0
  36. data/examples/v2/service-level-objectives/GetSLOReport.rb +8 -0
  37. data/examples/v2/service-level-objectives/GetSLOReportJobStatus.rb +11 -0
  38. data/lib/datadog_api_client/configuration.rb +3 -0
  39. data/lib/datadog_api_client/inflector.rb +20 -7
  40. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +104 -131
  41. data/lib/datadog_api_client/v1/models/aws_account.rb +12 -2
  42. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +2 -0
  43. data/lib/datadog_api_client/v1/models/monitor_options.rb +4 -1
  44. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +4 -0
  45. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +41 -1
  46. data/lib/datadog_api_client/v1/models/series.rb +1 -1
  47. data/lib/datadog_api_client/v1/models/slo_time_slice_condition.rb +14 -2
  48. data/lib/datadog_api_client/v1/models/slo_time_slice_interval.rb +29 -0
  49. data/lib/datadog_api_client/v1/models/slo_time_slice_spec.rb +1 -1
  50. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +13 -1
  51. data/lib/datadog_api_client/v1/models/synthetics_test_request_body_file.rb +175 -0
  52. data/lib/datadog_api_client/v1/models/synthetics_test_request_body_type.rb +2 -0
  53. data/lib/datadog_api_client/v2/api/apm_retention_filters_api.rb +6 -0
  54. data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -1
  55. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +67 -0
  56. data/lib/datadog_api_client/v2/api/service_level_objectives_api.rb +245 -0
  57. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +12 -3
  58. data/lib/datadog_api_client/v2/models/authn_mapping_create_data.rb +1 -1
  59. data/lib/datadog_api_client/v2/models/authn_mapping_create_relationships.rb +37 -54
  60. data/lib/datadog_api_client/v2/models/authn_mapping_included.rb +2 -1
  61. data/lib/datadog_api_client/v2/models/authn_mapping_relationship_to_role.rb +98 -0
  62. data/lib/datadog_api_client/v2/models/authn_mapping_relationship_to_team.rb +98 -0
  63. data/lib/datadog_api_client/v2/models/authn_mapping_relationships.rb +14 -4
  64. data/lib/datadog_api_client/{v1/models/usage_attribution_metadata.rb → v2/models/authn_mapping_team.rb} +31 -23
  65. data/lib/datadog_api_client/v2/models/authn_mapping_team_attributes.rb +212 -0
  66. data/lib/datadog_api_client/v2/models/authn_mapping_update_data.rb +1 -1
  67. data/lib/datadog_api_client/v2/models/authn_mapping_update_relationships.rb +37 -54
  68. data/lib/datadog_api_client/v2/models/custom_destination_type.rb +1 -1
  69. data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +1 -1
  70. data/lib/datadog_api_client/v2/models/metric_series.rb +1 -1
  71. data/lib/datadog_api_client/v2/models/relationship_to_team.rb +80 -0
  72. data/lib/datadog_api_client/{v1/models/usage_attribution_response.rb → v2/models/relationship_to_team_data.rb} +21 -23
  73. data/lib/datadog_api_client/v2/models/retention_filter_update_attributes.rb +183 -0
  74. data/lib/datadog_api_client/v2/models/retention_filter_update_data.rb +1 -1
  75. data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +1 -1
  76. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_create_payload.rb +1 -1
  77. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response.rb +1 -1
  78. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +1 -1
  79. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +1 -1
  80. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_attributes.rb +11 -1
  81. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb +13 -14
  82. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb +11 -1
  83. data/lib/datadog_api_client/v2/models/service_definition_v2_dot2.rb +13 -1
  84. data/lib/datadog_api_client/v2/models/slo_report_create_request.rb +98 -0
  85. data/lib/datadog_api_client/v2/models/slo_report_create_request_attributes.rb +160 -0
  86. data/lib/datadog_api_client/{v1/models/usage_attribution_pagination.rb → v2/models/slo_report_create_request_data.rb} +29 -51
  87. data/lib/datadog_api_client/v2/models/slo_report_interval.rb +27 -0
  88. data/lib/datadog_api_client/v2/models/slo_report_post_response.rb +80 -0
  89. data/lib/datadog_api_client/v2/models/slo_report_post_response_data.rb +90 -0
  90. data/lib/datadog_api_client/v2/models/slo_report_status.rb +29 -0
  91. data/lib/datadog_api_client/v2/models/slo_report_status_get_response.rb +80 -0
  92. data/lib/datadog_api_client/v2/models/slo_report_status_get_response_attributes.rb +80 -0
  93. data/lib/datadog_api_client/v2/models/slo_report_status_get_response_data.rb +100 -0
  94. data/lib/datadog_api_client/v2/models/timeseries_response_series.rb +8 -0
  95. data/lib/datadog_api_client/v2/models/user_teams_response.rb +13 -1
  96. data/lib/datadog_api_client/version.rb +1 -1
  97. metadata +51 -33
  98. data/examples/v1/usage-metering/GetUsageAttribution.rb +0 -9
  99. data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +0 -152
  100. data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +0 -63
  101. data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +0 -74
  102. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +0 -590
@@ -90,6 +90,12 @@ components:
90
90
  description: Regions to exclude.
91
91
  type: string
92
92
  type: array
93
+ extended_resource_collection_enabled:
94
+ default: false
95
+ description: Whether Datadog collects additional attributes and configuration
96
+ information about the resources in your AWS account. Required for `cspm_resource_collection`.
97
+ example: true
98
+ type: boolean
93
99
  filter_tags:
94
100
  description: 'The array of EC2 tags (in the form `key:value`) defines a
95
101
  filter that Datadog uses when collecting metrics from EC2.
@@ -128,8 +134,9 @@ components:
128
134
  type: boolean
129
135
  resource_collection_enabled:
130
136
  default: false
131
- description: Whether Datadog collects a standard set of resources from your
132
- AWS account.
137
+ deprecated: true
138
+ description: Deprecated in favor of 'extended_resource_collection_enabled'.
139
+ Whether Datadog collects a standard set of resources from your AWS account.
133
140
  example: true
134
141
  type: boolean
135
142
  role_name:
@@ -4110,6 +4117,7 @@ components:
4110
4117
  - estimated_rum_sessions_usage
4111
4118
  - fargate_usage
4112
4119
  - functions_usage
4120
+ - incident_management_monthly_active_users_usage
4113
4121
  - indexed_spans_usage
4114
4122
  - infra_host_usage
4115
4123
  - ingested_logs_bytes_usage
@@ -4131,6 +4139,7 @@ components:
4131
4139
  - npm_host_usage
4132
4140
  - obs_pipeline_bytes_usage
4133
4141
  - obs_pipelines_vcpu_usage
4142
+ - online_archive_usage
4134
4143
  - profiled_container_usage
4135
4144
  - profiled_fargate_usage
4136
4145
  - profiled_host_usage
@@ -4178,6 +4187,7 @@ components:
4178
4187
  - ESTIMATED_RUM_SESSIONS_USAGE
4179
4188
  - FARGATE_USAGE
4180
4189
  - FUNCTIONS_USAGE
4190
+ - INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE
4181
4191
  - INDEXED_SPANS_USAGE
4182
4192
  - INFRA_HOST_USAGE
4183
4193
  - INGESTED_LOGS_BYTES_USAGE
@@ -4199,6 +4209,7 @@ components:
4199
4209
  - NPM_HOST_USAGE
4200
4210
  - OBS_PIPELINE_BYTES_USAGE
4201
4211
  - OBS_PIPELINE_VCPU_USAGE
4212
+ - ONLINE_ARCHIVE_USAGE
4202
4213
  - PROFILED_CONTAINER_USAGE
4203
4214
  - PROFILED_FARGATE_USAGE
4204
4215
  - PROFILED_HOST_USAGE
@@ -7063,8 +7074,13 @@ components:
7063
7074
  nullable: true
7064
7075
  type: integer
7065
7076
  renotify_statuses:
7066
- description: The types of monitor statuses for which re-notification messages
7077
+ description: 'The types of monitor statuses for which re-notification messages
7067
7078
  are sent.
7079
+
7080
+ Default: **null** if `renotify_interval` is **null**.
7081
+
7082
+ If `renotify_interval` is set, defaults to renotify on `Alert` and `No
7083
+ Data`.'
7068
7084
  items:
7069
7085
  $ref: '#/components/schemas/MonitorRenotifyStatusType'
7070
7086
  nullable: true
@@ -7073,7 +7089,7 @@ components:
7073
7089
  description: "A Boolean indicating whether this monitor needs a full window
7074
7090
  of data before it\u2019s evaluated.\nWe highly recommend you set this
7075
7091
  to `false` for sparse metrics,\notherwise some evaluations are skipped.
7076
- Default is false."
7092
+ Default is false. This setting only applies to\nmetric monitors."
7077
7093
  type: boolean
7078
7094
  scheduling_options:
7079
7095
  $ref: '#/components/schemas/MonitorOptionsSchedulingOptions'
@@ -7816,6 +7832,8 @@ components:
7816
7832
  - fargate_percentage
7817
7833
  - functions_usage
7818
7834
  - functions_percentage
7835
+ - incident_management_monthly_active_users_usage
7836
+ - incident_management_monthly_active_users_percentage
7819
7837
  - infra_host_usage
7820
7838
  - infra_host_percentage
7821
7839
  - invocations_usage
@@ -7832,6 +7850,8 @@ components:
7832
7850
  - obs_pipeline_bytes_percentage
7833
7851
  - obs_pipelines_vcpu_usage
7834
7852
  - obs_pipelines_vcpu_percentage
7853
+ - online_archive_usage
7854
+ - online_archive_percentage
7835
7855
  - profiled_container_usage
7836
7856
  - profiled_container_percentage
7837
7857
  - profiled_fargate_usage
@@ -7947,6 +7967,8 @@ components:
7947
7967
  - FARGATE_PERCENTAGE
7948
7968
  - FUNCTIONS_USAGE
7949
7969
  - FUNCTIONS_PERCENTAGE
7970
+ - INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE
7971
+ - INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_PERCENTAGE
7950
7972
  - INFRA_HOST_USAGE
7951
7973
  - INFRA_HOST_PERCENTAGE
7952
7974
  - INVOCATIONS_USAGE
@@ -7963,6 +7985,8 @@ components:
7963
7985
  - OBS_PIPELINE_BYTES_PERCENTAGE
7964
7986
  - OBS_PIPELINES_VCPU_USAGE
7965
7987
  - OBS_PIPELINES_VCPU_PERCENTAGE
7988
+ - ONLINE_ARCHIVE_USAGE
7989
+ - ONLINE_ARCHIVE_PERCENTAGE
7966
7990
  - PROFILED_CONTAINER_USAGE
7967
7991
  - PROFILED_CONTAINER_PERCENTAGE
7968
7992
  - PROFILED_FARGATE_USAGE
@@ -8286,6 +8310,15 @@ components:
8286
8310
  description: The Lambda function usage by tag(s).
8287
8311
  format: double
8288
8312
  type: number
8313
+ incident_management_monthly_active_users_percentage:
8314
+ description: The percentage of Incident Management monthly active users
8315
+ usage by tag(s).
8316
+ format: double
8317
+ type: number
8318
+ incident_management_monthly_active_users_usage:
8319
+ description: The Incident Management monthly active users usage by tag(s).
8320
+ format: double
8321
+ type: number
8289
8322
  indexed_spans_percentage:
8290
8323
  description: The percentage of APM Indexed Spans usage by tag(s).
8291
8324
  format: double
@@ -8465,6 +8498,14 @@ components:
8465
8498
  description: The observability pipeline per core usage by tag(s).
8466
8499
  format: double
8467
8500
  type: number
8501
+ online_archive_percentage:
8502
+ description: The percentage of online archive usage by tag(s).
8503
+ format: double
8504
+ type: number
8505
+ online_archive_usage:
8506
+ description: The online archive usage by tag(s).
8507
+ format: double
8508
+ type: number
8468
8509
  profiled_container_percentage:
8469
8510
  description: The percentage of profiled container usage by tag(s).
8470
8511
  format: double
@@ -11341,7 +11382,8 @@ components:
11341
11382
  description: 'The time-slice condition, composed of 3 parts: 1. the metric timeseries
11342
11383
  query, 2. the comparator,
11343
11384
 
11344
- and 3. the threshold.'
11385
+ and 3. the threshold. Optionally, a fourth part, the query interval, can be
11386
+ provided.'
11345
11387
  example:
11346
11388
  comparator: <
11347
11389
  query:
@@ -11360,6 +11402,8 @@ components:
11360
11402
  $ref: '#/components/schemas/SLOTimeSliceComparator'
11361
11403
  query:
11362
11404
  $ref: '#/components/schemas/SLOTimeSliceQuery'
11405
+ query_interval_seconds:
11406
+ $ref: '#/components/schemas/SLOTimeSliceInterval'
11363
11407
  threshold:
11364
11408
  description: The threshold value to which each SLI value will be compared.
11365
11409
  example: 5
@@ -11370,6 +11414,22 @@ components:
11370
11414
  - threshold
11371
11415
  - query
11372
11416
  type: object
11417
+ SLOTimeSliceInterval:
11418
+ description: 'The interval used when querying data, which defines the size of
11419
+ a time slice.
11420
+
11421
+ Two values are allowed: 60 (1 minute) and 300 (5 minutes).
11422
+
11423
+ If not provided, the value defaults to 300 (5 minutes).'
11424
+ enum:
11425
+ - 60
11426
+ - 300
11427
+ example: 300
11428
+ format: int32
11429
+ type: integer
11430
+ x-enum-varnames:
11431
+ - ONE_MINUTE
11432
+ - FIVE_MINUTES
11373
11433
  SLOTimeSliceQuery:
11374
11434
  description: The queries and formula used to calculate the SLI value.
11375
11435
  example:
@@ -12090,7 +12150,7 @@ components:
12090
12150
  interval:
12091
12151
  default: null
12092
12152
  description: If the type of the metric is rate or count, define the corresponding
12093
- interval.
12153
+ interval in seconds.
12094
12154
  example: 20
12095
12155
  format: int64
12096
12156
  nullable: true
@@ -15818,6 +15878,11 @@ components:
15818
15878
  maximum: 65535
15819
15879
  minimum: 1
15820
15880
  type: integer
15881
+ files:
15882
+ description: Files to be used as part of the request in the test.
15883
+ items:
15884
+ $ref: '#/components/schemas/SyntheticsTestRequestBodyFile'
15885
+ type: array
15821
15886
  follow_redirects:
15822
15887
  description: Specifies whether or not the request follows redirects.
15823
15888
  type: boolean
@@ -15884,6 +15949,32 @@ components:
15884
15949
  example: https://example.com
15885
15950
  type: string
15886
15951
  type: object
15952
+ SyntheticsTestRequestBodyFile:
15953
+ description: Object describing a file to be used as part of the request in the
15954
+ test.
15955
+ properties:
15956
+ bucketKey:
15957
+ description: Bucket key of the file.
15958
+ type: string
15959
+ content:
15960
+ description: Content of the file.
15961
+ maxLength: 3145728
15962
+ type: string
15963
+ name:
15964
+ description: Name of the file.
15965
+ maxLength: 1500
15966
+ type: string
15967
+ size:
15968
+ description: Size of the file.
15969
+ format: int64
15970
+ maximum: 3145728
15971
+ minimum: 1
15972
+ type: integer
15973
+ type:
15974
+ description: Type of the file.
15975
+ maxLength: 1500
15976
+ type: string
15977
+ type: object
15887
15978
  SyntheticsTestRequestBodyType:
15888
15979
  description: Type of the request body.
15889
15980
  enum:
@@ -15893,6 +15984,8 @@ components:
15893
15984
  - text/html
15894
15985
  - application/x-www-form-urlencoded
15895
15986
  - graphql
15987
+ - application/octet-stream
15988
+ - multipart/form-data
15896
15989
  example: text/plain
15897
15990
  type: string
15898
15991
  x-enum-varnames:
@@ -15902,6 +15995,8 @@ components:
15902
15995
  - TEXT_HTML
15903
15996
  - APPLICATION_X_WWW_FORM_URLENCODED
15904
15997
  - GRAPHQL
15998
+ - APPLICATION_OCTET_STREAM
15999
+ - MULTIPART_FORM_DATA
15905
16000
  SyntheticsTestRequestCertificate:
15906
16001
  description: Client certificate to use when performing the test request.
15907
16002
  properties:
@@ -16819,270 +16914,6 @@ components:
16819
16914
  format: double
16820
16915
  type: number
16821
16916
  type: object
16822
- UsageAttributionBody:
16823
- description: Usage Summary by tag for a given organization.
16824
- properties:
16825
- month:
16826
- description: 'Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM].'
16827
- format: date-time
16828
- type: string
16829
- org_name:
16830
- description: The name of the organization.
16831
- type: string
16832
- public_id:
16833
- description: The organization public ID.
16834
- type: string
16835
- tag_config_source:
16836
- description: The source of the usage attribution tag configuration and the
16837
- selected tags in the format `<source_org_name>:::<selected tag 1>///<selected
16838
- tag 2>///<selected tag 3>`.
16839
- type: string
16840
- tags:
16841
- $ref: '#/components/schemas/UsageAttributionTagNames'
16842
- updated_at:
16843
- description: Shows the the most recent hour in the current month for all
16844
- organizations for which all usages were calculated.
16845
- type: string
16846
- values:
16847
- $ref: '#/components/schemas/UsageAttributionValues'
16848
- type: object
16849
- UsageAttributionLimit:
16850
- default: 5000
16851
- description: Maximum number of records to be returned.
16852
- format: int64
16853
- type: integer
16854
- UsageAttributionMetadata:
16855
- description: The object containing document metadata.
16856
- properties:
16857
- aggregates:
16858
- $ref: '#/components/schemas/UsageAttributionAggregates'
16859
- pagination:
16860
- $ref: '#/components/schemas/UsageAttributionPagination'
16861
- type: object
16862
- UsageAttributionOffset:
16863
- default: 0
16864
- description: Number of records to skip before beginning to return.
16865
- format: int64
16866
- type: integer
16867
- UsageAttributionPagination:
16868
- description: The metadata for the current pagination.
16869
- properties:
16870
- limit:
16871
- description: Maximum amount of records to be returned.
16872
- format: int64
16873
- type: integer
16874
- offset:
16875
- description: Records to be skipped before beginning to return.
16876
- format: int64
16877
- type: integer
16878
- sort_direction:
16879
- description: Direction to sort by.
16880
- type: string
16881
- sort_name:
16882
- description: Field to sort by.
16883
- type: string
16884
- total_number_of_records:
16885
- description: Total number of records.
16886
- format: int64
16887
- type: integer
16888
- type: object
16889
- UsageAttributionResponse:
16890
- description: Response containing the Usage Summary by tag(s).
16891
- properties:
16892
- metadata:
16893
- $ref: '#/components/schemas/UsageAttributionMetadata'
16894
- usage:
16895
- description: Get usage summary by tag(s).
16896
- items:
16897
- $ref: '#/components/schemas/UsageAttributionBody'
16898
- type: array
16899
- type: object
16900
- UsageAttributionSort:
16901
- default: custom_timeseries_usage
16902
- description: The field to sort by.
16903
- enum:
16904
- - api_percentage
16905
- - snmp_usage
16906
- - apm_host_usage
16907
- - api_usage
16908
- - appsec_usage
16909
- - appsec_percentage
16910
- - container_usage
16911
- - custom_timeseries_percentage
16912
- - container_percentage
16913
- - apm_host_percentage
16914
- - npm_host_percentage
16915
- - browser_percentage
16916
- - browser_usage
16917
- - infra_host_percentage
16918
- - snmp_percentage
16919
- - npm_host_usage
16920
- - infra_host_usage
16921
- - custom_timeseries_usage
16922
- - lambda_functions_usage
16923
- - lambda_functions_percentage
16924
- - lambda_invocations_usage
16925
- - lambda_invocations_percentage
16926
- - estimated_indexed_logs_usage
16927
- - estimated_indexed_logs_percentage
16928
- - estimated_ingested_logs_usage
16929
- - estimated_ingested_logs_percentage
16930
- - estimated_indexed_spans_usage
16931
- - estimated_indexed_spans_percentage
16932
- - estimated_ingested_spans_usage
16933
- - estimated_ingested_spans_percentage
16934
- - apm_fargate_usage
16935
- - apm_fargate_percentage
16936
- - appsec_fargate_usage
16937
- - appsec_fargate_percentage
16938
- - estimated_rum_usage_attribution_usage
16939
- - estimated_rum_usage_attribution_percentage
16940
- - asm_serverless_traced_invocations_usage
16941
- - asm_serverless_traced_invocations_percentage
16942
- type: string
16943
- x-enum-varnames:
16944
- - API_PERCENTAGE
16945
- - SNMP_USAGE
16946
- - APM_HOST_USAGE
16947
- - API_USAGE
16948
- - APPSEC_USAGE
16949
- - APPSEC_PERCENTAGE
16950
- - CONTAINER_USAGE
16951
- - CUSTOM_TIMESERIES_PERCENTAGE
16952
- - CONTAINER_PERCENTAGE
16953
- - APM_HOST_PERCENTAGE
16954
- - NPM_HOST_PERCENTAGE
16955
- - BROWSER_PERCENTAGE
16956
- - BROWSER_USAGE
16957
- - INFRA_HOST_PERCENTAGE
16958
- - SNMP_PERCENTAGE
16959
- - NPM_HOST_USAGE
16960
- - INFRA_HOST_USAGE
16961
- - CUSTOM_TIMESERIES_USAGE
16962
- - LAMBDA_FUNCTIONS_USAGE
16963
- - LAMBDA_FUNCTIONS_PERCENTAGE
16964
- - LAMBDA_INVOCATIONS_USAGE
16965
- - LAMBDA_INVOCATIONS_PERCENTAGE
16966
- - ESTIMATED_INDEXED_LOGS_USAGE
16967
- - ESTIMATED_INDEXED_LOGS_PERCENTAGE
16968
- - ESTIMATED_INGESTED_LOGS_USAGE
16969
- - ESTIMATED_INGESTED_LOGS_PERCENTAGE
16970
- - ESTIMATED_INDEXED_SPANS_USAGE
16971
- - ESTIMATED_INDEXED_SPANS_PERCENTAGE
16972
- - ESTIMATED_INGESTED_SPANS_USAGE
16973
- - ESTIMATED_INGESTED_SPANS_PERCENTAGE
16974
- - APM_FARGATE_USAGE
16975
- - APM_FARGATE_PERCENTAGE
16976
- - APPSEC_FARGATE_USAGE
16977
- - APPSEC_FARGATE_PERCENTAGE
16978
- - ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
16979
- - ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
16980
- - ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
16981
- - ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
16982
- UsageAttributionSupportedMetrics:
16983
- description: Supported fields for usage attribution requests (valid requests
16984
- contain one or more metrics, or `*` for all).
16985
- enum:
16986
- - custom_timeseries_usage
16987
- - container_usage
16988
- - snmp_percentage
16989
- - apm_host_usage
16990
- - browser_usage
16991
- - npm_host_percentage
16992
- - infra_host_usage
16993
- - custom_timeseries_percentage
16994
- - container_percentage
16995
- - api_usage
16996
- - apm_host_percentage
16997
- - infra_host_percentage
16998
- - snmp_usage
16999
- - browser_percentage
17000
- - api_percentage
17001
- - npm_host_usage
17002
- - lambda_functions_usage
17003
- - lambda_functions_percentage
17004
- - lambda_invocations_usage
17005
- - lambda_invocations_percentage
17006
- - fargate_usage
17007
- - fargate_percentage
17008
- - profiled_host_usage
17009
- - profiled_host_percentage
17010
- - profiled_container_usage
17011
- - profiled_container_percentage
17012
- - dbm_hosts_usage
17013
- - dbm_hosts_percentage
17014
- - dbm_queries_usage
17015
- - dbm_queries_percentage
17016
- - estimated_indexed_logs_usage
17017
- - estimated_indexed_logs_percentage
17018
- - estimated_ingested_logs_usage
17019
- - estimated_ingested_logs_percentage
17020
- - appsec_usage
17021
- - appsec_percentage
17022
- - estimated_indexed_spans_usage
17023
- - estimated_indexed_spans_percentage
17024
- - estimated_ingested_spans_usage
17025
- - estimated_ingested_spans_percentage
17026
- - apm_fargate_usage
17027
- - apm_fargate_percentage
17028
- - appsec_fargate_usage
17029
- - appsec_fargate_percentage
17030
- - estimated_rum_usage_attribution_usage
17031
- - estimated_rum_usage_attribution_percentage
17032
- - asm_serverless_traced_invocations_usage
17033
- - asm_serverless_traced_invocations_percentage
17034
- - '*'
17035
- type: string
17036
- x-enum-varnames:
17037
- - CUSTOM_TIMESERIES_USAGE
17038
- - CONTAINER_USAGE
17039
- - SNMP_PERCENTAGE
17040
- - APM_HOST_USAGE
17041
- - BROWSER_USAGE
17042
- - NPM_HOST_PERCENTAGE
17043
- - INFRA_HOST_USAGE
17044
- - CUSTOM_TIMESERIES_PERCENTAGE
17045
- - CONTAINER_PERCENTAGE
17046
- - API_USAGE
17047
- - APM_HOST_PERCENTAGE
17048
- - INFRA_HOST_PERCENTAGE
17049
- - SNMP_USAGE
17050
- - BROWSER_PERCENTAGE
17051
- - API_PERCENTAGE
17052
- - NPM_HOST_USAGE
17053
- - LAMBDA_FUNCTIONS_USAGE
17054
- - LAMBDA_FUNCTIONS_PERCENTAGE
17055
- - LAMBDA_INVOCATIONS_USAGE
17056
- - LAMBDA_INVOCATIONS_PERCENTAGE
17057
- - FARGATE_USAGE
17058
- - FARGATE_PERCENTAGE
17059
- - PROFILED_HOST_USAGE
17060
- - PROFILED_HOST_PERCENTAGE
17061
- - PROFILED_CONTAINER_USAGE
17062
- - PROFILED_CONTAINER_PERCENTAGE
17063
- - DBM_HOSTS_USAGE
17064
- - DBM_HOSTS_PERCENTAGE
17065
- - DBM_QUERIES_USAGE
17066
- - DBM_QUERIES_PERCENTAGE
17067
- - ESTIMATED_INDEXED_LOGS_USAGE
17068
- - ESTIMATED_INDEXED_LOGS_PERCENTAGE
17069
- - ESTIMATED_INGESTED_LOGS_USAGE
17070
- - ESTIMATED_INGESTED_LOGS_PERCENTAGE
17071
- - APPSEC_USAGE
17072
- - APPSEC_PERCENTAGE
17073
- - ESTIMATED_INDEXED_SPANS_USAGE
17074
- - ESTIMATED_INDEXED_SPANS_PERCENTAGE
17075
- - ESTIMATED_INGESTED_SPANS_USAGE
17076
- - ESTIMATED_INGESTED_SPANS_PERCENTAGE
17077
- - APM_FARGATE_USAGE
17078
- - APM_FARGATE_PERCENTAGE
17079
- - APPSEC_FARGATE_USAGE
17080
- - APPSEC_FARGATE_PERCENTAGE
17081
- - ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
17082
- - ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
17083
- - ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
17084
- - ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
17085
- - ALL
17086
16917
  UsageAttributionTagNames:
17087
16918
  additionalProperties:
17088
16919
  description: 'A list of values that are associated with each tag key.
@@ -17112,227 +16943,8 @@ components:
17112
16943
  In this scenario the API returns the total usage, not broken down by tags.'
17113
16944
  nullable: true
17114
16945
  type: object
17115
- UsageAttributionValues:
17116
- description: Fields in Usage Summary by tag(s).
17117
- properties:
17118
- api_percentage:
17119
- description: The percentage of synthetic API test usage by tag(s).
17120
- format: double
17121
- type: number
17122
- api_usage:
17123
- description: The synthetic API test usage by tag(s).
17124
- format: double
17125
- type: number
17126
- apm_fargate_percentage:
17127
- description: The percentage of APM ECS Fargate task usage by tag(s).
17128
- format: double
17129
- type: number
17130
- apm_fargate_usage:
17131
- description: The APM ECS Fargate task usage by tag(s).
17132
- format: double
17133
- type: number
17134
- apm_host_percentage:
17135
- description: The percentage of APM host usage by tag(s).
17136
- format: double
17137
- type: number
17138
- apm_host_usage:
17139
- description: The APM host usage by tag(s).
17140
- format: double
17141
- type: number
17142
- appsec_fargate_percentage:
17143
- description: The percentage of Application Security Monitoring ECS Fargate
17144
- task usage by tag(s).
17145
- format: double
17146
- type: number
17147
- appsec_fargate_usage:
17148
- description: The Application Security Monitoring ECS Fargate task usage
17149
- by tag(s).
17150
- format: double
17151
- type: number
17152
- appsec_percentage:
17153
- description: The percentage of Application Security Monitoring host usage
17154
- by tag(s).
17155
- format: double
17156
- type: number
17157
- appsec_usage:
17158
- description: The Application Security Monitoring host usage by tag(s).
17159
- format: double
17160
- type: number
17161
- browser_percentage:
17162
- description: The percentage of synthetic browser test usage by tag(s).
17163
- format: double
17164
- type: number
17165
- browser_usage:
17166
- description: The synthetic browser test usage by tag(s).
17167
- format: double
17168
- type: number
17169
- container_percentage:
17170
- description: The percentage of container usage by tag(s).
17171
- format: double
17172
- type: number
17173
- container_usage:
17174
- description: The container usage by tag(s).
17175
- format: double
17176
- type: number
17177
- cspm_container_percentage:
17178
- description: The percentage of Cloud Security Management Pro container usage
17179
- by tag(s)
17180
- format: double
17181
- type: number
17182
- cspm_container_usage:
17183
- description: The Cloud Security Management Pro container usage by tag(s)
17184
- format: double
17185
- type: number
17186
- cspm_host_percentage:
17187
- description: The percentage of Cloud Security Management Pro host usage
17188
- by tag(s)
17189
- format: double
17190
- type: number
17191
- cspm_host_usage:
17192
- description: The Cloud Security Management Pro host usage by tag(s)
17193
- format: double
17194
- type: number
17195
- custom_timeseries_percentage:
17196
- description: The percentage of custom metrics usage by tag(s).
17197
- format: double
17198
- type: number
17199
- custom_timeseries_usage:
17200
- description: The custom metrics usage by tag(s).
17201
- format: double
17202
- type: number
17203
- cws_container_percentage:
17204
- description: The percentage of Cloud Workload Security container usage by
17205
- tag(s)
17206
- format: double
17207
- type: number
17208
- cws_container_usage:
17209
- description: The Cloud Workload Security container usage by tag(s)
17210
- format: double
17211
- type: number
17212
- cws_host_percentage:
17213
- description: The percentage of Cloud Workload Security host usage by tag(s)
17214
- format: double
17215
- type: number
17216
- cws_host_usage:
17217
- description: The Cloud Workload Security host usage by tag(s)
17218
- format: double
17219
- type: number
17220
- dbm_hosts_percentage:
17221
- description: The percentage of Database Monitoring host usage by tag(s).
17222
- format: double
17223
- type: number
17224
- dbm_hosts_usage:
17225
- description: The Database Monitoring host usage by tag(s).
17226
- format: double
17227
- type: number
17228
- dbm_queries_percentage:
17229
- description: The percentage of Database Monitoring normalized queries usage
17230
- by tag(s).
17231
- format: double
17232
- type: number
17233
- dbm_queries_usage:
17234
- description: The Database Monitoring normalized queries usage by tag(s).
17235
- format: double
17236
- type: number
17237
- estimated_indexed_logs_percentage:
17238
- description: The percentage of estimated live indexed logs usage by tag(s).
17239
- format: double
17240
- type: number
17241
- estimated_indexed_logs_usage:
17242
- description: The estimated live indexed logs usage by tag(s).
17243
- format: double
17244
- type: number
17245
- estimated_indexed_spans_percentage:
17246
- description: The percentage of estimated indexed spans usage by tag(s).
17247
- format: double
17248
- type: number
17249
- estimated_indexed_spans_usage:
17250
- description: The estimated indexed spans usage by tag(s).
17251
- format: double
17252
- type: number
17253
- estimated_ingested_logs_percentage:
17254
- description: The percentage of estimated live ingested logs usage by tag(s).
17255
- format: double
17256
- type: number
17257
- estimated_ingested_logs_usage:
17258
- description: The estimated live ingested logs usage by tag(s).
17259
- format: double
17260
- type: number
17261
- estimated_ingested_spans_percentage:
17262
- description: The percentage of estimated ingested spans usage by tag(s).
17263
- format: double
17264
- type: number
17265
- estimated_ingested_spans_usage:
17266
- description: The estimated ingested spans usage by tag(s).
17267
- format: double
17268
- type: number
17269
- estimated_rum_sessions_percentage:
17270
- description: The percentage of estimated rum sessions usage by tag(s).
17271
- format: double
17272
- type: number
17273
- estimated_rum_sessions_usage:
17274
- description: The estimated rum sessions usage by tag(s).
17275
- format: double
17276
- type: number
17277
- infra_host_percentage:
17278
- description: The percentage of infrastructure host usage by tag(s).
17279
- format: double
17280
- type: number
17281
- infra_host_usage:
17282
- description: The infrastructure host usage by tag(s).
17283
- format: double
17284
- type: number
17285
- lambda_functions_percentage:
17286
- description: The percentage of Lambda function usage by tag(s).
17287
- format: double
17288
- type: number
17289
- lambda_functions_usage:
17290
- description: The Lambda function usage by tag(s).
17291
- format: double
17292
- type: number
17293
- lambda_invocations_percentage:
17294
- description: The percentage of Lambda invocation usage by tag(s).
17295
- format: double
17296
- type: number
17297
- lambda_invocations_usage:
17298
- description: The Lambda invocation usage by tag(s).
17299
- format: double
17300
- type: number
17301
- npm_host_percentage:
17302
- description: The percentage of network host usage by tag(s).
17303
- format: double
17304
- type: number
17305
- npm_host_usage:
17306
- description: The network host usage by tag(s).
17307
- format: double
17308
- type: number
17309
- profiled_container_percentage:
17310
- description: The percentage of profiled containers usage by tag(s).
17311
- format: double
17312
- type: number
17313
- profiled_container_usage:
17314
- description: The profiled container usage by tag(s).
17315
- format: double
17316
- type: number
17317
- profiled_hosts_percentage:
17318
- description: The percentage of profiled hosts usage by tag(s).
17319
- format: double
17320
- type: number
17321
- profiled_hosts_usage:
17322
- description: The profiled host usage by tag(s).
17323
- format: double
17324
- type: number
17325
- snmp_percentage:
17326
- description: The percentage of network device usage by tag(s).
17327
- format: double
17328
- type: number
17329
- snmp_usage:
17330
- description: The network device usage by tag(s).
17331
- format: double
17332
- type: number
17333
- type: object
17334
- UsageAuditLogsHour:
17335
- description: Audit logs usage for a given organization for a given hour.
16946
+ UsageAuditLogsHour:
16947
+ description: Audit logs usage for a given organization for a given hour.
17336
16948
  properties:
17337
16949
  hour:
17338
16950
  description: The hour for the usage.
@@ -31161,10 +30773,11 @@ paths:
31161
30773
  x-codegen-request-body-name: body
31162
30774
  /api/v1/usage/analyzed_logs:
31163
30775
  get:
30776
+ deprecated: true
31164
30777
  description: 'Get hourly usage for analyzed logs (Security Monitoring).
31165
30778
 
31166
- **Note:** hourly usage data for all products is now available in the [Get
31167
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
30779
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
30780
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31168
30781
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
31169
30782
  for the associated migration guide.'
31170
30783
  operationId: GetUsageAnalyzedLogs
@@ -31220,100 +30833,6 @@ paths:
31220
30833
  summary: Get hourly usage for analyzed logs
31221
30834
  tags:
31222
30835
  - Usage Metering
31223
- /api/v1/usage/attribution:
31224
- get:
31225
- deprecated: true
31226
- description: 'Get usage attribution.
31227
-
31228
- **Note:** This endpoint will be fully deprecated on December 1, 2022.
31229
-
31230
- Refer to [Migrating from v1 to v2 of the Usage Attribution API](https://docs.datadoghq.com/account_management/guide/usage-attribution-migration/)
31231
- for the associated migration guide.'
31232
- operationId: GetUsageAttribution
31233
- parameters:
31234
- - description: 'Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]`
31235
- for usage beginning in this month.
31236
-
31237
- Maximum of 15 months ago.'
31238
- in: query
31239
- name: start_month
31240
- required: true
31241
- schema:
31242
- format: date-time
31243
- type: string
31244
- - description: Comma-separated list of usage types to return, or `*` for all
31245
- usage types.
31246
- in: query
31247
- name: fields
31248
- required: true
31249
- schema:
31250
- $ref: '#/components/schemas/UsageAttributionSupportedMetrics'
31251
- - description: 'Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]`
31252
- for usage ending this month.'
31253
- in: query
31254
- name: end_month
31255
- required: false
31256
- schema:
31257
- format: date-time
31258
- type: string
31259
- - description: 'The direction to sort by: `[desc, asc]`.'
31260
- in: query
31261
- name: sort_direction
31262
- required: false
31263
- schema:
31264
- $ref: '#/components/schemas/UsageSortDirection'
31265
- - description: The field to sort by.
31266
- in: query
31267
- name: sort_name
31268
- required: false
31269
- schema:
31270
- $ref: '#/components/schemas/UsageAttributionSort'
31271
- - description: Include child org usage in the response. Defaults to false.
31272
- in: query
31273
- name: include_descendants
31274
- required: false
31275
- schema:
31276
- default: false
31277
- type: boolean
31278
- - description: Number of records to skip before beginning to return.
31279
- in: query
31280
- name: offset
31281
- required: false
31282
- schema:
31283
- $ref: '#/components/schemas/UsageAttributionOffset'
31284
- - description: Maximum number of records to be returned.
31285
- in: query
31286
- name: limit
31287
- required: false
31288
- schema:
31289
- $ref: '#/components/schemas/UsageAttributionLimit'
31290
- responses:
31291
- '200':
31292
- content:
31293
- application/json;datetime-format=rfc3339:
31294
- schema:
31295
- $ref: '#/components/schemas/UsageAttributionResponse'
31296
- description: OK
31297
- '403':
31298
- content:
31299
- application/json;datetime-format=rfc3339:
31300
- schema:
31301
- $ref: '#/components/schemas/APIErrorResponse'
31302
- description: Forbidden - User is not authorized
31303
- '429':
31304
- content:
31305
- application/json;datetime-format=rfc3339:
31306
- schema:
31307
- $ref: '#/components/schemas/APIErrorResponse'
31308
- description: Too many requests
31309
- security:
31310
- - apiKeyAuth: []
31311
- appKeyAuth: []
31312
- - AuthZ:
31313
- - usage_read
31314
- summary: Get usage attribution
31315
- tags:
31316
- - Usage Metering
31317
30836
  /api/v1/usage/audit_logs:
31318
30837
  get:
31319
30838
  deprecated: true
@@ -31375,10 +30894,11 @@ paths:
31375
30894
  - Usage Metering
31376
30895
  /api/v1/usage/aws_lambda:
31377
30896
  get:
30897
+ deprecated: true
31378
30898
  description: 'Get hourly usage for Lambda.
31379
30899
 
31380
- **Note:** hourly usage data for all products is now available in the [Get
31381
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
30900
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
30901
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31382
30902
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
31383
30903
  for the associated migration guide.'
31384
30904
  operationId: GetUsageLambda
@@ -31480,10 +31000,11 @@ paths:
31480
31000
  - Usage Metering
31481
31001
  /api/v1/usage/ci-app:
31482
31002
  get:
31003
+ deprecated: true
31483
31004
  description: 'Get hourly usage for CI visibility (tests, pipeline, and spans).
31484
31005
 
31485
- **Note:** hourly usage data for all products is now available in the [Get
31486
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31006
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
31007
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31487
31008
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
31488
31009
  for the associated migration guide.'
31489
31010
  operationId: GetUsageCIApp
@@ -31541,10 +31062,11 @@ paths:
31541
31062
  - Usage Metering
31542
31063
  /api/v1/usage/cspm:
31543
31064
  get:
31065
+ deprecated: true
31544
31066
  description: 'Get hourly usage for cloud security management (CSM) pro.
31545
31067
 
31546
- **Note:** hourly usage data for all products is now available in the [Get
31547
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31068
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
31069
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31548
31070
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
31549
31071
  for the associated migration guide.'
31550
31072
  operationId: GetUsageCloudSecurityPostureManagement
@@ -31602,10 +31124,11 @@ paths:
31602
31124
  - Usage Metering
31603
31125
  /api/v1/usage/cws:
31604
31126
  get:
31127
+ deprecated: true
31605
31128
  description: 'Get hourly usage for cloud workload security.
31606
31129
 
31607
- **Note:** hourly usage data for all products is now available in the [Get
31608
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31130
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
31131
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31609
31132
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
31610
31133
  for the associated migration guide.'
31611
31134
  operationId: GetUsageCWS
@@ -31663,10 +31186,11 @@ paths:
31663
31186
  - Usage Metering
31664
31187
  /api/v1/usage/dbm:
31665
31188
  get:
31189
+ deprecated: true
31666
31190
  description: 'Get hourly usage for database monitoring
31667
31191
 
31668
- **Note:** hourly usage data for all products is now available in the [Get
31669
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31192
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
31193
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31670
31194
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
31671
31195
  for the associated migration guide.'
31672
31196
  operationId: GetUsageDBM
@@ -31724,10 +31248,11 @@ paths:
31724
31248
  - Usage Metering
31725
31249
  /api/v1/usage/fargate:
31726
31250
  get:
31251
+ deprecated: true
31727
31252
  description: 'Get hourly usage for [Fargate](https://docs.datadoghq.com/integrations/ecs_fargate/).
31728
31253
 
31729
- **Note:** hourly usage data for all products is now available in the [Get
31730
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31254
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
31255
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31731
31256
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
31732
31257
  for the associated migration guide.'
31733
31258
  operationId: GetUsageFargate
@@ -31783,10 +31308,11 @@ paths:
31783
31308
  - Usage Metering
31784
31309
  /api/v1/usage/hosts:
31785
31310
  get:
31311
+ deprecated: true
31786
31312
  description: 'Get hourly usage for hosts and containers.
31787
31313
 
31788
- **Note:** hourly usage data for all products is now available in the [Get
31789
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31314
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
31315
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31790
31316
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
31791
31317
  for the associated migration guide.'
31792
31318
  operationId: GetUsageHosts
@@ -31930,10 +31456,11 @@ paths:
31930
31456
  - Usage Metering
31931
31457
  /api/v1/usage/incident-management:
31932
31458
  get:
31459
+ deprecated: true
31933
31460
  description: 'Get hourly usage for incident management.
31934
31461
 
31935
- **Note:** hourly usage data for all products is now available in the [Get
31936
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31462
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
31463
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31937
31464
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
31938
31465
  for the associated migration guide.'
31939
31466
  operationId: GetIncidentManagement
@@ -31991,10 +31518,11 @@ paths:
31991
31518
  - Usage Metering
31992
31519
  /api/v1/usage/indexed-spans:
31993
31520
  get:
31521
+ deprecated: true
31994
31522
  description: 'Get hourly usage for indexed spans.
31995
31523
 
31996
- **Note:** hourly usage data for all products is now available in the [Get
31997
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31524
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
31525
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31998
31526
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
31999
31527
  for the associated migration guide.'
32000
31528
  operationId: GetUsageIndexedSpans
@@ -32050,10 +31578,11 @@ paths:
32050
31578
  - Usage Metering
32051
31579
  /api/v1/usage/ingested-spans:
32052
31580
  get:
31581
+ deprecated: true
32053
31582
  description: 'Get hourly usage for ingested spans.
32054
31583
 
32055
- **Note:** hourly usage data for all products is now available in the [Get
32056
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31584
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
31585
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32057
31586
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
32058
31587
  for the associated migration guide.'
32059
31588
  operationId: GetIngestedSpans
@@ -32111,10 +31640,11 @@ paths:
32111
31640
  - Usage Metering
32112
31641
  /api/v1/usage/iot:
32113
31642
  get:
31643
+ deprecated: true
32114
31644
  description: 'Get hourly usage for IoT.
32115
31645
 
32116
- **Note:** hourly usage data for all products is now available in the [Get
32117
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31646
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
31647
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32118
31648
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
32119
31649
  for the associated migration guide.'
32120
31650
  operationId: GetUsageInternetOfThings
@@ -32172,10 +31702,11 @@ paths:
32172
31702
  - Usage Metering
32173
31703
  /api/v1/usage/logs:
32174
31704
  get:
31705
+ deprecated: true
32175
31706
  description: 'Get hourly usage for logs.
32176
31707
 
32177
- **Note:** hourly usage data for all products is now available in the [Get
32178
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31708
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
31709
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32179
31710
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
32180
31711
  for the associated migration guide.'
32181
31712
  operationId: GetUsageLogs
@@ -32231,10 +31762,11 @@ paths:
32231
31762
  - Usage Metering
32232
31763
  /api/v1/usage/logs-by-retention:
32233
31764
  get:
31765
+ deprecated: true
32234
31766
  description: 'Get hourly usage for indexed logs by retention period.
32235
31767
 
32236
- **Note:** hourly usage data for all products is now available in the [Get
32237
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31768
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
31769
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32238
31770
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
32239
31771
  for the associated migration guide.'
32240
31772
  operationId: GetUsageLogsByRetention
@@ -32455,10 +31987,11 @@ paths:
32455
31987
  - Usage Metering
32456
31988
  /api/v1/usage/network_flows:
32457
31989
  get:
31990
+ deprecated: true
32458
31991
  description: 'Get hourly usage for network flows.
32459
31992
 
32460
- **Note:** hourly usage data for all products is now available in the [Get
32461
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
31993
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
31994
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32462
31995
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
32463
31996
  for the associated migration guide.'
32464
31997
  operationId: GetUsageNetworkFlows
@@ -32516,10 +32049,11 @@ paths:
32516
32049
  - Usage Metering
32517
32050
  /api/v1/usage/network_hosts:
32518
32051
  get:
32052
+ deprecated: true
32519
32053
  description: 'Get hourly usage for network hosts.
32520
32054
 
32521
- **Note:** hourly usage data for all products is now available in the [Get
32522
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32055
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
32056
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32523
32057
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
32524
32058
  for the associated migration guide.'
32525
32059
  operationId: GetUsageNetworkHosts
@@ -32575,10 +32109,11 @@ paths:
32575
32109
  - Usage Metering
32576
32110
  /api/v1/usage/online-archive:
32577
32111
  get:
32112
+ deprecated: true
32578
32113
  description: 'Get hourly usage for online archive.
32579
32114
 
32580
- **Note:** hourly usage data for all products is now available in the [Get
32581
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32115
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
32116
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32582
32117
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
32583
32118
  for the associated migration guide.'
32584
32119
  operationId: GetUsageOnlineArchive
@@ -32636,10 +32171,11 @@ paths:
32636
32171
  - Usage Metering
32637
32172
  /api/v1/usage/profiling:
32638
32173
  get:
32174
+ deprecated: true
32639
32175
  description: 'Get hourly usage for profiled hosts.
32640
32176
 
32641
- **Note:** hourly usage data for all products is now available in the [Get
32642
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32177
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
32178
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32643
32179
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
32644
32180
  for the associated migration guide.'
32645
32181
  operationId: GetUsageProfiling
@@ -32697,11 +32233,12 @@ paths:
32697
32233
  - Usage Metering
32698
32234
  /api/v1/usage/rum:
32699
32235
  get:
32236
+ deprecated: true
32700
32237
  description: 'Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/)
32701
32238
  Units.
32702
32239
 
32703
- **Note:** hourly usage data for all products is now available in the [Get
32704
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32240
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
32241
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32705
32242
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
32706
32243
  for the associated migration guide.'
32707
32244
  operationId: GetUsageRumUnits
@@ -32757,11 +32294,12 @@ paths:
32757
32294
  - Usage Metering
32758
32295
  /api/v1/usage/rum_sessions:
32759
32296
  get:
32297
+ deprecated: true
32760
32298
  description: 'Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/)
32761
32299
  Sessions.
32762
32300
 
32763
- **Note:** hourly usage data for all products is now available in the [Get
32764
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32301
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
32302
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32765
32303
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
32766
32304
  for the associated migration guide.'
32767
32305
  operationId: GetUsageRumSessions
@@ -32823,10 +32361,11 @@ paths:
32823
32361
  - Usage Metering
32824
32362
  /api/v1/usage/sds:
32825
32363
  get:
32364
+ deprecated: true
32826
32365
  description: 'Get hourly usage for sensitive data scanner.
32827
32366
 
32828
- **Note:** hourly usage data for all products is now available in the [Get
32829
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32367
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
32368
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32830
32369
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
32831
32370
  for the associated migration guide.'
32832
32371
  operationId: GetUsageSDS
@@ -32884,10 +32423,11 @@ paths:
32884
32423
  - Usage Metering
32885
32424
  /api/v1/usage/snmp:
32886
32425
  get:
32426
+ deprecated: true
32887
32427
  description: 'Get hourly usage for SNMP devices.
32888
32428
 
32889
- **Note:** hourly usage data for all products is now available in the [Get
32890
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32429
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
32430
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32891
32431
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
32892
32432
  for the associated migration guide.'
32893
32433
  operationId: GetUsageSNMP
@@ -33010,8 +32550,8 @@ paths:
33010
32550
  deprecated: true
33011
32551
  description: 'Get hourly usage for [synthetics checks](https://docs.datadoghq.com/synthetics/).
33012
32552
 
33013
- **Note:** hourly usage data for all products is now available in the [Get
33014
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32553
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
32554
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
33015
32555
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
33016
32556
  for the associated migration guide.'
33017
32557
  operationId: GetUsageSynthetics
@@ -33067,10 +32607,11 @@ paths:
33067
32607
  - Usage Metering
33068
32608
  /api/v1/usage/synthetics_api:
33069
32609
  get:
32610
+ deprecated: true
33070
32611
  description: 'Get hourly usage for [synthetics API checks](https://docs.datadoghq.com/synthetics/).
33071
32612
 
33072
- **Note:** hourly usage data for all products is now available in the [Get
33073
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32613
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
32614
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
33074
32615
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
33075
32616
  for the associated migration guide.'
33076
32617
  operationId: GetUsageSyntheticsAPI
@@ -33126,10 +32667,11 @@ paths:
33126
32667
  - Usage Metering
33127
32668
  /api/v1/usage/synthetics_browser:
33128
32669
  get:
32670
+ deprecated: true
33129
32671
  description: 'Get hourly usage for synthetics browser checks.
33130
32672
 
33131
- **Note:** hourly usage data for all products is now available in the [Get
33132
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32673
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
32674
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
33133
32675
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
33134
32676
  for the associated migration guide.'
33135
32677
  operationId: GetUsageSyntheticsBrowser
@@ -33185,10 +32727,11 @@ paths:
33185
32727
  - Usage Metering
33186
32728
  /api/v1/usage/timeseries:
33187
32729
  get:
32730
+ deprecated: true
33188
32731
  description: 'Get hourly usage for [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/).
33189
32732
 
33190
- **Note:** hourly usage data for all products is now available in the [Get
33191
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
32733
+ **Note:** This endpoint has been deprecated. Hourly usage data for all products
32734
+ is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
33192
32735
  Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
33193
32736
  for the associated migration guide.'
33194
32737
  operationId: GetUsageTimeseries