datadog_api_client 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +6 -6
  3. data/.generator/conftest.py +2 -1
  4. data/.generator/schemas/v1/openapi.yaml +284 -902
  5. data/.generator/schemas/v2/openapi.yaml +343 -672
  6. data/.generator/src/generator/formatter.py +1 -1
  7. data/.generator/src/generator/templates/example.j2 +5 -0
  8. data/.github/workflows/test.yml +1 -1
  9. data/.github/workflows/test_integration.yml +5 -0
  10. data/CHANGELOG.md +42 -0
  11. data/README.md +13 -13
  12. data/examples/v1/dashboards/CreateDashboard_1094917386.rb +37 -0
  13. data/examples/v1/dashboards/CreateDashboard_1307120899.rb +61 -0
  14. data/examples/v1/monitors/ValidateExistingMonitor.rb +1 -0
  15. data/examples/v1/monitors/ValidateMonitor.rb +1 -0
  16. data/examples/v1/monitors/ValidateMonitor_4247196452.rb +38 -0
  17. data/examples/v1/pagerduty-integration/DeletePagerDutyIntegrationService.rb +2 -2
  18. data/examples/v1/synthetics/CreateGlobalVariable.rb +1 -0
  19. data/examples/v1/synthetics/CreateGlobalVariable_1068962881.rb +23 -0
  20. data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +10 -0
  21. data/examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.rb +6 -0
  22. data/examples/v1/synthetics/EditGlobalVariable.rb +1 -0
  23. data/examples/v1/synthetics/UpdateBrowserTest.rb +1 -0
  24. data/examples/v1/usage-metering/GetDailyCustomReports.rb +0 -3
  25. data/examples/v1/usage-metering/GetMonthlyCustomReports.rb +0 -3
  26. data/examples/v1/usage-metering/GetSpecifiedDailyCustomReports.rb +0 -3
  27. data/examples/v1/usage-metering/GetSpecifiedMonthlyCustomReports.rb +0 -3
  28. data/examples/v1/usage-metering/GetUsageAttribution.rb +0 -3
  29. data/examples/v2/audit/ListAuditLogs_1275402458.rb +8 -0
  30. data/examples/v2/audit/SearchAuditLogs_3215529662.rb +22 -0
  31. data/examples/v2/events/ListEvents_1527584014.rb +13 -0
  32. data/examples/v2/events/SearchEvents_3856995058.rb +25 -0
  33. data/examples/v2/incidents/ListIncidents_2665616954.rb +11 -0
  34. data/examples/v2/logs/ListLogsGet_738202670.rb +8 -0
  35. data/examples/v2/logs/ListLogs_3138392594.rb +25 -0
  36. data/examples/v2/metrics/SubmitMetrics_1762007427.rb +23 -0
  37. data/examples/v2/processes/ListProcesses_797840471.rb +8 -0
  38. data/examples/v2/roles/UpdateRole.rb +13 -0
  39. data/examples/v2/rum/CreateRUMApplication.rb +15 -0
  40. data/examples/v2/rum/DeleteRUMApplication.rb +8 -0
  41. data/examples/v2/rum/GetRUMApplication.rb +8 -0
  42. data/examples/v2/rum/GetRUMApplications.rb +5 -0
  43. data/examples/v2/rum/ListRUMEvents_2680821282.rb +8 -0
  44. data/examples/v2/rum/SearchRUMEvents_574690310.rb +21 -0
  45. data/examples/v2/rum/UpdateRUMApplication.rb +16 -0
  46. data/examples/v2/security-monitoring/ListSecurityMonitoringSignals_3960412991.rb +8 -0
  47. data/examples/v2/security-monitoring/SearchSecurityMonitoringSignals_1309350146.rb +20 -0
  48. data/examples/v2/usage-metering/GetHourlyUsage.rb +5 -0
  49. data/lib/datadog_api_client/configuration.rb +0 -5
  50. data/lib/datadog_api_client/inflector.rb +16 -0
  51. data/lib/datadog_api_client/v1/api/metrics_api.rb +1 -1
  52. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +42 -62
  53. data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +1 -0
  54. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
  55. data/lib/datadog_api_client/v1/models/list_stream_source.rb +1 -0
  56. data/lib/datadog_api_client/v1/models/metric_content_encoding.rb +1 -0
  57. data/lib/datadog_api_client/v1/models/monitor_options.rb +28 -1
  58. data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +13 -1
  59. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
  60. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -1
  61. data/lib/datadog_api_client/v1/models/on_missing_data_option.rb +33 -0
  62. data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +2 -1
  63. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest.rb +155 -0
  64. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest_type.rb +26 -0
  65. data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options.rb +11 -12
  66. data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options_type.rb +1 -0
  67. data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +31 -1
  68. data/lib/datadog_api_client/v1/models/synthetics_test_process_status.rb +0 -1
  69. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +15 -1
  70. data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +2 -0
  71. data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +2 -0
  72. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +21 -1
  73. data/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb +11 -1
  74. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +12 -1
  75. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -1
  76. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +21 -1
  77. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +11 -1
  78. data/lib/datadog_api_client/v1/models/widget_monitor_summary_sort.rb +2 -0
  79. data/lib/datadog_api_client/v2/api/events_api.rb +1 -1
  80. data/lib/datadog_api_client/v2/api/logs_api.rb +1 -1
  81. data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -1
  82. data/lib/datadog_api_client/v2/api/rum_api.rb +329 -0
  83. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +3 -3
  84. data/lib/datadog_api_client/v2/models/content_encoding.rb +1 -0
  85. data/lib/datadog_api_client/v2/models/metric_content_encoding.rb +2 -0
  86. data/lib/datadog_api_client/v2/models/role_update_data.rb +11 -1
  87. data/lib/datadog_api_client/v2/models/rum_application.rb +166 -0
  88. data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +279 -0
  89. data/lib/datadog_api_client/v2/models/rum_application_create.rb +145 -0
  90. data/lib/datadog_api_client/v2/models/rum_application_create_attributes.rb +132 -0
  91. data/lib/datadog_api_client/v2/models/rum_application_create_request.rb +122 -0
  92. data/lib/datadog_api_client/v2/models/rum_application_create_type.rb +26 -0
  93. data/lib/datadog_api_client/v2/models/rum_application_response.rb +111 -0
  94. data/lib/datadog_api_client/v2/models/rum_application_type.rb +26 -0
  95. data/lib/datadog_api_client/v2/models/rum_application_update.rb +155 -0
  96. data/lib/datadog_api_client/v2/models/rum_application_update_attributes.rb +121 -0
  97. data/lib/datadog_api_client/v2/models/rum_application_update_request.rb +122 -0
  98. data/lib/datadog_api_client/v2/models/rum_application_update_type.rb +26 -0
  99. data/lib/datadog_api_client/v2/models/rum_applications_response.rb +113 -0
  100. data/lib/datadog_api_client/version.rb +1 -1
  101. data/lib/datadog_api_client.rb +6 -4
  102. metadata +41 -3
  103. data/lib/datadog_api_client/v2.rb +0 -595
@@ -2485,6 +2485,7 @@ components:
2485
2485
  - profiles
2486
2486
  - audit
2487
2487
  - events
2488
+ - ci_tests
2488
2489
  example: logs
2489
2490
  type: string
2490
2491
  x-enum-varnames:
@@ -2496,6 +2497,7 @@ components:
2496
2497
  - PROFILES
2497
2498
  - AUDIT
2498
2499
  - EVENTS
2500
+ - CI_TESTS
2499
2501
  FormulaAndFunctionMetricAggregation:
2500
2502
  description: The aggregation methods available for metrics queries.
2501
2503
  enum:
@@ -3637,6 +3639,7 @@ components:
3637
3639
  - dbm_hosts_usage
3638
3640
  - dbm_queries_usage
3639
3641
  - estimated_indexed_logs_usage
3642
+ - estimated_ingested_logs_usage
3640
3643
  - estimated_indexed_spans_usage
3641
3644
  - estimated_ingested_spans_usage
3642
3645
  - fargate_usage
@@ -3663,6 +3666,7 @@ components:
3663
3666
  - DBM_HOSTS_USAGE
3664
3667
  - DBM_QUERIES_USAGE
3665
3668
  - ESTIMATED_INDEXED_LOGS_USAGE
3669
+ - ESTIMATED_INGESTED_LOGS_USAGE
3666
3670
  - ESTIMATED_INDEXED_SPANS_USAGE
3667
3671
  - ESTIMATED_INGESTED_SPANS_USAGE
3668
3672
  - FARGATE_USAGE
@@ -4011,6 +4015,7 @@ components:
4011
4015
  - audit_stream
4012
4016
  - rum_issue_stream
4013
4017
  - apm_issue_stream
4018
+ - logs_pattern_stream
4014
4019
  example: apm_issue_stream
4015
4020
  type: string
4016
4021
  x-enum-varnames:
@@ -4018,6 +4023,7 @@ components:
4018
4023
  - AUDIT_STREAM
4019
4024
  - RUM_ISSUE_STREAM
4020
4025
  - APM_ISSUE_STREAM
4026
+ - LOGS_PATTERN_STREAM
4021
4027
  ListStreamWidgetDefinition:
4022
4028
  description: 'The list stream visualization displays a table of recent events
4023
4029
  in your application that
@@ -5511,12 +5517,16 @@ components:
5511
5517
  x-enum-varnames:
5512
5518
  - USER_AGENT_PARSER
5513
5519
  MetricContentEncoding:
5520
+ default: deflate
5514
5521
  description: HTTP header used to compress the media-type.
5515
5522
  enum:
5516
5523
  - deflate
5524
+ - gzip
5525
+ example: deflate
5517
5526
  type: string
5518
5527
  x-enum-varnames:
5519
5528
  - DEFLATE
5529
+ - GZIP
5520
5530
  MetricMetadata:
5521
5531
  description: Object with all metric related metadata.
5522
5532
  properties:
@@ -6131,6 +6141,17 @@ components:
6131
6141
  format: int64
6132
6142
  nullable: true
6133
6143
  type: integer
6144
+ group_retention_duration:
6145
+ description: 'The time span after which groups with missing data are dropped
6146
+ from the monitor state.
6147
+
6148
+ The minimum value is one hour, and the maximum value is 72 hours.
6149
+
6150
+ Example values are: "60m", "1h", and "2d".
6151
+
6152
+ This option is only available for APM Trace Analytics, Audit Trail, CI,
6153
+ Error Tracking, Event, Logs, and RUM monitors.'
6154
+ type: string
6134
6155
  groupby_simple_monitor:
6135
6156
  description: Whether the log alert monitor triggers a single alert or multiple
6136
6157
  alerts when any group breaches a threshold.
@@ -6221,6 +6242,8 @@ components:
6221
6242
  description: A Boolean indicating whether this monitor notifies when data
6222
6243
  stops reporting.
6223
6244
  type: boolean
6245
+ on_missing_data:
6246
+ $ref: '#/components/schemas/OnMissingDataOption'
6224
6247
  renotify_interval:
6225
6248
  default: null
6226
6249
  description: "The number of minutes after the last notification before a
@@ -6593,6 +6616,10 @@ components:
6593
6616
  description: Whether to show the time that has elapsed since the monitor/group
6594
6617
  triggered.
6595
6618
  type: boolean
6619
+ show_priority:
6620
+ default: false
6621
+ description: Whether to show the priorities column.
6622
+ type: boolean
6596
6623
  sort:
6597
6624
  $ref: '#/components/schemas/WidgetMonitorSummarySort'
6598
6625
  start:
@@ -6869,6 +6896,8 @@ components:
6869
6896
  - dbm_queries_usage
6870
6897
  - estimated_indexed_logs_usage
6871
6898
  - estimated_indexed_logs_percentage
6899
+ - estimated_ingested_logs_usage
6900
+ - estimated_ingested_logs_percentage
6872
6901
  - estimated_indexed_spans_usage
6873
6902
  - estimated_indexed_spans_percentage
6874
6903
  - estimated_ingested_spans_usage
@@ -6920,6 +6949,8 @@ components:
6920
6949
  - DBM_QUERIES_USAGE
6921
6950
  - ESTIMATED_INDEXED_LOGS_USAGE
6922
6951
  - ESTIMATED_INDEXED_LOGS_PERCENTAGE
6952
+ - ESTIMATED_INGESTED_LOGS_USAGE
6953
+ - ESTIMATED_INGESTED_LOGS_PERCENTAGE
6923
6954
  - ESTIMATED_INDEXED_SPANS_USAGE
6924
6955
  - ESTIMATED_INDEXED_SPANS_PERCENTAGE
6925
6956
  - ESTIMATED_INGESTED_SPANS_USAGE
@@ -7015,6 +7046,16 @@ components:
7015
7046
  in private beta.
7016
7047
  format: double
7017
7048
  type: number
7049
+ estimated_ingested_logs_percentage:
7050
+ description: The percentage of estimated live ingested logs usage by tag(s).
7051
+ This field is in private beta.
7052
+ format: double
7053
+ type: number
7054
+ estimated_ingested_logs_usage:
7055
+ description: The estimated live ingested logs usage by tag(s). This field
7056
+ is in private beta.
7057
+ format: double
7058
+ type: number
7018
7059
  estimated_ingested_spans_percentage:
7019
7060
  description: The percentage of estimated ingested spans usage by tag(s).
7020
7061
  This field is in private beta.
@@ -7922,6 +7963,32 @@ components:
7922
7963
  format: int64
7923
7964
  type: integer
7924
7965
  type: object
7966
+ OnMissingDataOption:
7967
+ description: 'Controls how groups or monitors are treated if an evaluation does
7968
+ not return any data points.
7969
+
7970
+ The default option results in different behavior depending on the monitor
7971
+ query type.
7972
+
7973
+ For monitors using Count queries, an empty monitor evaluation is treated as
7974
+ 0 and is compared to the threshold conditions.
7975
+
7976
+ For monitors using any query type other than Count, for example Gauge, Measure,
7977
+ or Rate, the monitor shows the last known status.
7978
+
7979
+ This option is only available for APM Trace Analytics, Audit Trail, CI, Error
7980
+ Tracking, Event, Logs, and RUM monitors.'
7981
+ enum:
7982
+ - default
7983
+ - show_no_data
7984
+ - show_and_notify_no_data
7985
+ - resolve
7986
+ type: string
7987
+ x-enum-varnames:
7988
+ - DEFAULT
7989
+ - SHOW_NO_DATA
7990
+ - SHOW_AND_NOTIFY_NO_DATA
7991
+ - RESOLVE
7925
7992
  OrgDowngradedResponse:
7926
7993
  description: Status of downgrade
7927
7994
  properties:
@@ -10868,7 +10935,34 @@ components:
10868
10935
  - $ref: '#/components/schemas/SyntheticsBasicAuthWeb'
10869
10936
  - $ref: '#/components/schemas/SyntheticsBasicAuthSigv4'
10870
10937
  - $ref: '#/components/schemas/SyntheticsBasicAuthNTLM'
10938
+ - $ref: '#/components/schemas/SyntheticsBasicAuthDigest'
10939
+ type: object
10940
+ SyntheticsBasicAuthDigest:
10941
+ description: Object to handle digest authentication when performing the test.
10942
+ properties:
10943
+ password:
10944
+ description: Password to use for the digest authentication.
10945
+ example: PaSSw0RD!
10946
+ type: string
10947
+ type:
10948
+ $ref: '#/components/schemas/SyntheticsBasicAuthDigestType'
10949
+ username:
10950
+ description: Username to use for the digest authentication.
10951
+ example: my_username
10952
+ type: string
10953
+ required:
10954
+ - password
10955
+ - username
10871
10956
  type: object
10957
+ SyntheticsBasicAuthDigestType:
10958
+ default: digest
10959
+ description: The type of basic authentication to use when performing the test.
10960
+ enum:
10961
+ - digest
10962
+ example: digest
10963
+ type: string
10964
+ x-enum-varnames:
10965
+ - DIGEST
10872
10966
  SyntheticsBasicAuthNTLM:
10873
10967
  description: Object to handle `NTLM` authentication when performing the test.
10874
10968
  properties:
@@ -11384,7 +11478,6 @@ components:
11384
11478
  example: 12345
11385
11479
  format: int64
11386
11480
  type: integer
11387
- x-secret: true
11388
11481
  isEnabled:
11389
11482
  description: Determines whether RUM data is collected during test runs.
11390
11483
  example: true
@@ -11805,13 +11898,17 @@ components:
11805
11898
  the value.
11806
11899
  example: content-type
11807
11900
  type: string
11901
+ localVariableName:
11902
+ description: When type is `local_variable`, name of the local variable to
11903
+ use to extract the value.
11904
+ example: LOCAL_VARIABLE
11905
+ type: string
11808
11906
  parser:
11809
11907
  $ref: '#/components/schemas/SyntheticsVariableParser'
11810
11908
  type:
11811
11909
  $ref: '#/components/schemas/SyntheticsGlobalVariableParseTestOptionsType'
11812
11910
  required:
11813
11911
  - type
11814
- - parser
11815
11912
  type: object
11816
11913
  SyntheticsGlobalVariableParseTestOptionsType:
11817
11914
  description: Property of the Synthetics Test Response to use for a Synthetics
@@ -11819,11 +11916,13 @@ components:
11819
11916
  enum:
11820
11917
  - http_body
11821
11918
  - http_header
11919
+ - local_variable
11822
11920
  example: http_body
11823
11921
  type: string
11824
11922
  x-enum-varnames:
11825
11923
  - HTTP_BODY
11826
11924
  - HTTP_HEADER
11925
+ - LOCAL_VARIABLE
11827
11926
  SyntheticsGlobalVariableParserType:
11828
11927
  description: Type of parser for a Synthetics global variable from a synthetics
11829
11928
  test.
@@ -12471,9 +12570,20 @@ components:
12471
12570
  disableCors:
12472
12571
  description: Whether or not to disable CORS mechanism.
12473
12572
  type: boolean
12573
+ disableCsp:
12574
+ description: Disable Content Security Policy for browser tests.
12575
+ type: boolean
12474
12576
  follow_redirects:
12475
12577
  description: For API HTTP test, whether or not the test should follow redirects.
12476
12578
  type: boolean
12579
+ ignoreServerCertificateError:
12580
+ description: Ignore server certificate error.
12581
+ type: boolean
12582
+ initialNavigationTimeout:
12583
+ description: Timeout before declaring the initial step as failed (in seconds)
12584
+ for browser tests.
12585
+ format: int64
12586
+ type: integer
12477
12587
  min_failure_duration:
12478
12588
  description: Minimum amount of time in failure required to trigger an alert.
12479
12589
  format: int64
@@ -12562,14 +12672,12 @@ components:
12562
12672
  enum:
12563
12673
  - not_scheduled
12564
12674
  - scheduled
12565
- - started
12566
12675
  - finished
12567
12676
  - finished_with_error
12568
12677
  type: string
12569
12678
  x-enum-varnames:
12570
12679
  - NOT_SCHEDULED
12571
12680
  - SCHEDULED
12572
- - STARTED
12573
12681
  - FINISHED
12574
12682
  - FINISHED_WITH_ERROR
12575
12683
  SyntheticsTestRequest:
@@ -12586,6 +12694,16 @@ components:
12586
12694
  type: string
12587
12695
  certificate:
12588
12696
  $ref: '#/components/schemas/SyntheticsTestRequestCertificate'
12697
+ certificateDomains:
12698
+ default: []
12699
+ description: By default, the client certificate is applied on the domain
12700
+ of the starting URL for browser tests. If you want your client certificate
12701
+ to be applied on other domains instead, add them in `certificateDomains`.
12702
+ items:
12703
+ description: Domain to apply the client certificate.
12704
+ example: ''
12705
+ type: string
12706
+ type: array
12589
12707
  dnsServer:
12590
12708
  description: DNS server to use for DNS tests.
12591
12709
  type: string
@@ -13516,6 +13634,8 @@ components:
13516
13634
  - lambda_invocations_percentage
13517
13635
  - estimated_indexed_logs_usage
13518
13636
  - estimated_indexed_logs_percentage
13637
+ - estimated_ingested_logs_usage
13638
+ - estimated_ingested_logs_percentage
13519
13639
  - estimated_indexed_spans_usage
13520
13640
  - estimated_indexed_spans_percentage
13521
13641
  - estimated_ingested_spans_usage
@@ -13546,6 +13666,8 @@ components:
13546
13666
  - LAMBDA_INVOCATIONS_PERCENTAGE
13547
13667
  - ESTIMATED_INDEXED_LOGS_USAGE
13548
13668
  - ESTIMATED_INDEXED_LOGS_PERCENTAGE
13669
+ - ESTIMATED_INGESTED_LOGS_USAGE
13670
+ - ESTIMATED_INGESTED_LOGS_PERCENTAGE
13549
13671
  - ESTIMATED_INDEXED_SPANS_USAGE
13550
13672
  - ESTIMATED_INDEXED_SPANS_PERCENTAGE
13551
13673
  - ESTIMATED_INGESTED_SPANS_USAGE
@@ -13586,6 +13708,8 @@ components:
13586
13708
  - dbm_queries_percentage
13587
13709
  - estimated_indexed_logs_usage
13588
13710
  - estimated_indexed_logs_percentage
13711
+ - estimated_ingested_logs_usage
13712
+ - estimated_ingested_logs_percentage
13589
13713
  - appsec_usage
13590
13714
  - appsec_percentage
13591
13715
  - estimated_indexed_spans_usage
@@ -13627,6 +13751,8 @@ components:
13627
13751
  - DBM_QUERIES_PERCENTAGE
13628
13752
  - ESTIMATED_INDEXED_LOGS_USAGE
13629
13753
  - ESTIMATED_INDEXED_LOGS_PERCENTAGE
13754
+ - ESTIMATED_INGESTED_LOGS_USAGE
13755
+ - ESTIMATED_INGESTED_LOGS_PERCENTAGE
13630
13756
  - APPSEC_USAGE
13631
13757
  - APPSEC_PERCENTAGE
13632
13758
  - ESTIMATED_INDEXED_SPANS_USAGE
@@ -13786,6 +13912,16 @@ components:
13786
13912
  is in private beta.
13787
13913
  format: double
13788
13914
  type: number
13915
+ estimated_ingested_logs_percentage:
13916
+ description: The percentage of estimated live ingested logs usage by tag(s).
13917
+ Note this field is in private beta.
13918
+ format: double
13919
+ type: number
13920
+ estimated_ingested_logs_usage:
13921
+ description: The estimated live ingested logs usage by tag(s). Note this
13922
+ field is in private beta.
13923
+ format: double
13924
+ type: number
13789
13925
  estimated_ingested_spans_percentage:
13790
13926
  description: The percentage of estimated ingested spans usage by tag(s).
13791
13927
  Note this field is in private beta.
@@ -13937,6 +14073,9 @@ components:
13937
14073
  description: Shows usage aggregation for a billing period.
13938
14074
  format: double
13939
14075
  type: number
14076
+ region:
14077
+ description: The region of the organization.
14078
+ type: string
13940
14079
  start_date:
13941
14080
  description: Shows the first date of usage.
13942
14081
  format: date-time
@@ -14195,6 +14334,12 @@ components:
14195
14334
  format: double
14196
14335
  nullable: true
14197
14336
  type: number
14337
+ aws_host_count:
14338
+ description: The number of Cloud Security Posture Management AWS hosts during
14339
+ a given hour.
14340
+ format: double
14341
+ nullable: true
14342
+ type: number
14198
14343
  azure_host_count:
14199
14344
  description: The number of Cloud Security Posture Management Azure hosts
14200
14345
  during a given hour.
@@ -15229,6 +15374,11 @@ components:
15229
15374
  Azure app services hosts over all hours in the current date for all organizations.
15230
15375
  format: int64
15231
15376
  type: integer
15377
+ cspm_aws_host_top99p:
15378
+ description: Shows the 99th percentile of all Cloud Security Posture Management
15379
+ AWS hosts over all hours in the current date for all organizations.
15380
+ format: int64
15381
+ type: integer
15232
15382
  cspm_azure_host_top99p:
15233
15383
  description: Shows the 99th percentile of all Cloud Security Posture Management
15234
15384
  Azure hosts over all hours in the current date for all organizations.
@@ -15555,6 +15705,11 @@ components:
15555
15705
  org.
15556
15706
  format: int64
15557
15707
  type: integer
15708
+ cspm_aws_host_top99p:
15709
+ description: Shows the 99th percentile of all Cloud Security Posture Management
15710
+ AWS hosts over all hours in the current date for the given org.
15711
+ format: int64
15712
+ type: integer
15558
15713
  cspm_azure_host_top99p:
15559
15714
  description: Shows the 99th percentile of all Cloud Security Posture Management
15560
15715
  Azure hosts over all hours in the current date for the given org.
@@ -15719,6 +15874,9 @@ components:
15719
15874
  public_id:
15720
15875
  description: The organization public id.
15721
15876
  type: string
15877
+ region:
15878
+ description: The region of the organization.
15879
+ type: string
15722
15880
  rum_browser_and_mobile_session_count:
15723
15881
  description: Shows the sum of all mobile sessions and all browser lite and
15724
15882
  legacy sessions over all hours in the current date for the given org.
@@ -15886,6 +16044,11 @@ components:
15886
16044
  organizations.
15887
16045
  format: int64
15888
16046
  type: integer
16047
+ cspm_aws_host_top99p_sum:
16048
+ description: Shows the 99th percentile of all Cloud Security Posture Management
16049
+ AWS hosts over all hours in the current months for all organizations.
16050
+ format: int64
16051
+ type: integer
15889
16052
  cspm_azure_host_top99p_sum:
15890
16053
  description: Shows the 99th percentile of all Cloud Security Posture Management
15891
16054
  Azure hosts over all hours in the current months for all organizations.
@@ -17072,6 +17235,8 @@ components:
17072
17235
  - tags,desc
17073
17236
  - triggered,asc
17074
17237
  - triggered,desc
17238
+ - priority,asc
17239
+ - priority,desc
17075
17240
  example: name,asc
17076
17241
  type: string
17077
17242
  x-enum-varnames:
@@ -17090,6 +17255,8 @@ components:
17090
17255
  - TAGS_DESCENDING
17091
17256
  - TRIGGERED_ASCENDING
17092
17257
  - TRIGGERED_DESCENDING
17258
+ - PRIORITY_ASCENDING
17259
+ - PRIORITY_DESCENDING
17093
17260
  WidgetNodeType:
17094
17261
  description: Which type of node to use in the map.
17095
17262
  enum:
@@ -17416,9 +17583,6 @@ paths:
17416
17583
  summary: List IP Ranges
17417
17584
  tags:
17418
17585
  - IP Ranges
17419
- x-menu-order: 1
17420
- x-undo:
17421
- type: safe
17422
17586
  /api/v1/api_key:
17423
17587
  get:
17424
17588
  description: Get all API keys available for your account.
@@ -17441,9 +17605,6 @@ paths:
17441
17605
  summary: Get all API keys
17442
17606
  tags:
17443
17607
  - Key Management
17444
- x-menu-order: 1
17445
- x-undo:
17446
- type: safe
17447
17608
  post:
17448
17609
  description: Creates an API key with a given name.
17449
17610
  operationId: CreateAPIKey
@@ -17478,13 +17639,6 @@ paths:
17478
17639
  tags:
17479
17640
  - Key Management
17480
17641
  x-codegen-request-body-name: body
17481
- x-menu-order: 2
17482
- x-undo:
17483
- operationId: DeleteAPIKey
17484
- parameters:
17485
- - name: key
17486
- source: <RESPONSE_PATH>
17487
- type: unsafe
17488
17642
  /api/v1/api_key/{key}:
17489
17643
  delete:
17490
17644
  description: Delete a given API key.
@@ -17526,9 +17680,6 @@ paths:
17526
17680
  summary: Delete an API key
17527
17681
  tags:
17528
17682
  - Key Management
17529
- x-menu-order: 5
17530
- x-undo:
17531
- type: idempotent
17532
17683
  get:
17533
17684
  description: Get a given API key.
17534
17685
  operationId: GetAPIKey
@@ -17563,9 +17714,6 @@ paths:
17563
17714
  summary: Get API key
17564
17715
  tags:
17565
17716
  - Key Management
17566
- x-menu-order: 3
17567
- x-undo:
17568
- type: safe
17569
17717
  put:
17570
17718
  description: Edit an API key name.
17571
17719
  operationId: UpdateAPIKey
@@ -17613,9 +17761,6 @@ paths:
17613
17761
  tags:
17614
17762
  - Key Management
17615
17763
  x-codegen-request-body-name: body
17616
- x-menu-order: 4
17617
- x-undo:
17618
- type: idempotent
17619
17764
  /api/v1/application_key:
17620
17765
  get:
17621
17766
  description: Get all application keys available for your Datadog account.
@@ -17638,9 +17783,6 @@ paths:
17638
17783
  summary: Get all application keys
17639
17784
  tags:
17640
17785
  - Key Management
17641
- x-menu-order: 6
17642
- x-undo:
17643
- type: safe
17644
17786
  post:
17645
17787
  description: Create an application key with a given name.
17646
17788
  operationId: CreateApplicationKey
@@ -17681,13 +17823,6 @@ paths:
17681
17823
  tags:
17682
17824
  - Key Management
17683
17825
  x-codegen-request-body-name: body
17684
- x-menu-order: 7
17685
- x-undo:
17686
- operationId: DeleteApplicationKey
17687
- parameters:
17688
- - name: key
17689
- source: <RESPONSE_PATH>
17690
- type: unsafe
17691
17826
  /api/v1/application_key/{key}:
17692
17827
  delete:
17693
17828
  description: Delete a given application key.
@@ -17723,9 +17858,6 @@ paths:
17723
17858
  summary: Delete an application key
17724
17859
  tags:
17725
17860
  - Key Management
17726
- x-menu-order: 10
17727
- x-undo:
17728
- type: idempotent
17729
17861
  get:
17730
17862
  description: Get a given application key.
17731
17863
  operationId: GetApplicationKey
@@ -17760,9 +17892,6 @@ paths:
17760
17892
  summary: Get an application key
17761
17893
  tags:
17762
17894
  - Key Management
17763
- x-menu-order: 8
17764
- x-undo:
17765
- type: safe
17766
17895
  put:
17767
17896
  description: Edit an application key name.
17768
17897
  operationId: UpdateApplicationKey
@@ -17816,9 +17945,6 @@ paths:
17816
17945
  tags:
17817
17946
  - Key Management
17818
17947
  x-codegen-request-body-name: body
17819
- x-menu-order: 9
17820
- x-undo:
17821
- type: idempotent
17822
17948
  /api/v1/check_run:
17823
17949
  post:
17824
17950
  description: 'Submit a list of Service Checks.
@@ -17876,13 +18002,15 @@ paths:
17876
18002
  tags:
17877
18003
  - Service Checks
17878
18004
  x-codegen-request-body-name: body
17879
- x-menu-order: 1
17880
- x-undo:
17881
- type: safe
17882
18005
  /api/v1/daily_custom_reports:
17883
18006
  get:
17884
18007
  deprecated: true
17885
- description: Get daily custom reports.
18008
+ description: 'Get daily custom reports.
18009
+
18010
+ **Note:** This endpoint will be fully deprecated on December 1, 2022.
18011
+
18012
+ Refer to [Migrating from v1 to v2 of the Usage Attribution API](https://docs.datadoghq.com/account_management/guide/usage-attribution-migration/)
18013
+ for the associated migration guide.'
17886
18014
  operationId: GetDailyCustomReports
17887
18015
  parameters:
17888
18016
  - description: The number of files to return in the response. `[default=60]`.
@@ -17939,16 +18067,15 @@ paths:
17939
18067
  summary: Get the list of available daily custom reports
17940
18068
  tags:
17941
18069
  - Usage Metering
17942
- x-menu-order: 40
17943
- x-undo:
17944
- type: safe
17945
- x-unstable: '**Note**: This endpoint is in public beta.
17946
-
17947
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
17948
18070
  /api/v1/daily_custom_reports/{report_id}:
17949
18071
  get:
17950
18072
  deprecated: true
17951
- description: Get specified daily custom reports.
18073
+ description: 'Get specified daily custom reports.
18074
+
18075
+ **Note:** This endpoint will be fully deprecated on December 1, 2022.
18076
+
18077
+ Refer to [Migrating from v1 to v2 of the Usage Attribution API](https://docs.datadoghq.com/account_management/guide/usage-attribution-migration/)
18078
+ for the associated migration guide.'
17952
18079
  operationId: GetSpecifiedDailyCustomReports
17953
18080
  parameters:
17954
18081
  - description: Date of the report in the format `YYYY-MM-DD`.
@@ -17990,12 +18117,6 @@ paths:
17990
18117
  summary: Get specified daily custom reports
17991
18118
  tags:
17992
18119
  - Usage Metering
17993
- x-menu-order: 41
17994
- x-undo:
17995
- type: safe
17996
- x-unstable: '**Note**: This endpoint is in public beta.
17997
-
17998
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
17999
18120
  /api/v1/dashboard:
18000
18121
  delete:
18001
18122
  description: Delete dashboards using the specified IDs. If there are any failures,
@@ -18048,9 +18169,6 @@ paths:
18048
18169
  tags:
18049
18170
  - Dashboards
18050
18171
  x-codegen-request-body-name: body
18051
- x-menu-order: 4
18052
- x-undo:
18053
- type: idempotent
18054
18172
  get:
18055
18173
  description: 'Get all dashboards.
18056
18174
 
@@ -18099,9 +18217,6 @@ paths:
18099
18217
  summary: Get all dashboards
18100
18218
  tags:
18101
18219
  - Dashboards
18102
- x-menu-order: 2
18103
- x-undo:
18104
- type: safe
18105
18220
  patch:
18106
18221
  description: Restore dashboards using the specified IDs. If there are any failures,
18107
18222
  no dashboards will be restored (partial success is not allowed).
@@ -18153,9 +18268,6 @@ paths:
18153
18268
  tags:
18154
18269
  - Dashboards
18155
18270
  x-codegen-request-body-name: body
18156
- x-menu-order: 5
18157
- x-undo:
18158
- type: idempotent
18159
18271
  post:
18160
18272
  description: 'Create a dashboard using the specified options. When defining
18161
18273
  queries in your widgets, take note of which queries should have the `as_count()`
@@ -18201,24 +18313,6 @@ paths:
18201
18313
  tags:
18202
18314
  - Dashboards
18203
18315
  x-codegen-request-body-name: body
18204
- x-given:
18205
- dashboard:
18206
- parameters:
18207
- - file: dashboard_payload.json
18208
- name: body
18209
- step: there is a valid "dashboard" in the system
18210
- screenboard_dashboard:
18211
- parameters:
18212
- - file: screenboard_dashboard_payload.json
18213
- name: body
18214
- step: there is a valid "screenboard_dashboard" in the system
18215
- x-menu-order: 1
18216
- x-undo:
18217
- operationId: DeleteDashboard
18218
- parameters:
18219
- - name: dashboard_id
18220
- source: id
18221
- type: unsafe
18222
18316
  /api/v1/dashboard/lists/manual:
18223
18317
  get:
18224
18318
  description: Fetch all of your existing dashboard list definitions.
@@ -18246,9 +18340,6 @@ paths:
18246
18340
  summary: Get all dashboard lists
18247
18341
  tags:
18248
18342
  - Dashboard Lists
18249
- x-menu-order: 1
18250
- x-undo:
18251
- type: safe
18252
18343
  post:
18253
18344
  description: Create an empty dashboard list.
18254
18345
  operationId: CreateDashboardList
@@ -18289,19 +18380,6 @@ paths:
18289
18380
  tags:
18290
18381
  - Dashboard Lists
18291
18382
  x-codegen-request-body-name: body
18292
- x-given:
18293
- dashboard_list:
18294
- parameters:
18295
- - name: body
18296
- value: "{\n \"name\": \"{{ unique }}\"\n}"
18297
- step: there is a valid "dashboard_list" in the system
18298
- x-menu-order: 2
18299
- x-undo:
18300
- operationId: DeleteDashboardList
18301
- parameters:
18302
- - name: list_id
18303
- source: id
18304
- type: unsafe
18305
18383
  /api/v1/dashboard/lists/manual/{list_id}:
18306
18384
  delete:
18307
18385
  description: Delete a dashboard list.
@@ -18343,9 +18421,6 @@ paths:
18343
18421
  summary: Delete a dashboard list
18344
18422
  tags:
18345
18423
  - Dashboard Lists
18346
- x-menu-order: 5
18347
- x-undo:
18348
- type: idempotent
18349
18424
  get:
18350
18425
  description: Fetch an existing dashboard list's definition.
18351
18426
  operationId: GetDashboardList
@@ -18386,9 +18461,6 @@ paths:
18386
18461
  summary: Get a dashboard list
18387
18462
  tags:
18388
18463
  - Dashboard Lists
18389
- x-menu-order: 3
18390
- x-undo:
18391
- type: safe
18392
18464
  put:
18393
18465
  description: Update the name of a dashboard list.
18394
18466
  operationId: UpdateDashboardList
@@ -18443,9 +18515,6 @@ paths:
18443
18515
  tags:
18444
18516
  - Dashboard Lists
18445
18517
  x-codegen-request-body-name: body
18446
- x-menu-order: 4
18447
- x-undo:
18448
- type: idempotent
18449
18518
  /api/v1/dashboard/{dashboard_id}:
18450
18519
  delete:
18451
18520
  description: Delete a dashboard using the specified ID.
@@ -18486,15 +18555,6 @@ paths:
18486
18555
  summary: Delete a dashboard
18487
18556
  tags:
18488
18557
  - Dashboards
18489
- x-given:
18490
- deleted_dashboard:
18491
- parameters:
18492
- - name: dashboard_id
18493
- source: dashboard.id
18494
- step: the "dashboard" was deleted
18495
- x-menu-order: 3
18496
- x-undo:
18497
- type: idempotent
18498
18558
  get:
18499
18559
  description: Get a dashboard using the specified ID.
18500
18560
  operationId: GetDashboard
@@ -18534,9 +18594,6 @@ paths:
18534
18594
  summary: Get a dashboard
18535
18595
  tags:
18536
18596
  - Dashboards
18537
- x-menu-order: 7
18538
- x-undo:
18539
- type: safe
18540
18597
  put:
18541
18598
  description: Update a dashboard using the specified ID.
18542
18599
  operationId: UpdateDashboard
@@ -18590,9 +18647,6 @@ paths:
18590
18647
  tags:
18591
18648
  - Dashboards
18592
18649
  x-codegen-request-body-name: body
18593
- x-menu-order: 6
18594
- x-undo:
18595
- type: idempotent
18596
18650
  /api/v1/distribution_points:
18597
18651
  post:
18598
18652
  description: "The distribution points end-point allows you to post distribution
@@ -18658,9 +18712,6 @@ paths:
18658
18712
  tags:
18659
18713
  - Metrics
18660
18714
  x-codegen-request-body-name: body
18661
- x-menu-order: 1
18662
- x-undo:
18663
- type: safe
18664
18715
  /api/v1/downtime:
18665
18716
  get:
18666
18717
  description: Get all scheduled downtimes.
@@ -18697,9 +18748,6 @@ paths:
18697
18748
  summary: Get all downtimes
18698
18749
  tags:
18699
18750
  - Downtimes
18700
- x-menu-order: 1
18701
- x-undo:
18702
- type: safe
18703
18751
  post:
18704
18752
  description: Schedule a downtime.
18705
18753
  operationId: CreateDowntime
@@ -18740,23 +18788,6 @@ paths:
18740
18788
  tags:
18741
18789
  - Downtimes
18742
18790
  x-codegen-request-body-name: body
18743
- x-given:
18744
- downtime:
18745
- parameters:
18746
- - name: body
18747
- value: "{\n \"message\": \"{{ unique }}\",\n \"start\": {{ timestamp(\"now\")
18748
- }},\n \"timezone\": \"Etc/UTC\",\n \"scope\": [\"test:{{ unique_lower_alnum
18749
- }}\"],\n \"recurrence\": {\n \"type\": \"weeks\",\n \"period\":
18750
- 1,\n \"week_days\": [\"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\"],\n
18751
- \ \"until_date\": {{ timestamp(\"now + 21d\")}}\n }\n}"
18752
- step: there is a valid "downtime" in the system
18753
- x-menu-order: 2
18754
- x-undo:
18755
- operationId: CancelDowntime
18756
- parameters:
18757
- - name: downtime_id
18758
- source: id
18759
- type: unsafe
18760
18791
  /api/v1/downtime/cancel/by_scope:
18761
18792
  post:
18762
18793
  description: Delete all downtimes that match the scope of `X`.
@@ -18804,9 +18835,6 @@ paths:
18804
18835
  tags:
18805
18836
  - Downtimes
18806
18837
  x-codegen-request-body-name: body
18807
- x-menu-order: 3
18808
- x-undo:
18809
- type: idempotent
18810
18838
  /api/v1/downtime/{downtime_id}:
18811
18839
  delete:
18812
18840
  description: Cancel a downtime.
@@ -18845,9 +18873,6 @@ paths:
18845
18873
  summary: Cancel a downtime
18846
18874
  tags:
18847
18875
  - Downtimes
18848
- x-menu-order: 4
18849
- x-undo:
18850
- type: idempotent
18851
18876
  get:
18852
18877
  description: Get downtime detail by `downtime_id`.
18853
18878
  operationId: GetDowntime
@@ -18889,9 +18914,6 @@ paths:
18889
18914
  summary: Get a downtime
18890
18915
  tags:
18891
18916
  - Downtimes
18892
- x-menu-order: 5
18893
- x-undo:
18894
- type: safe
18895
18917
  put:
18896
18918
  description: Update a single downtime by `downtime_id`.
18897
18919
  operationId: UpdateDowntime
@@ -18948,9 +18970,6 @@ paths:
18948
18970
  tags:
18949
18971
  - Downtimes
18950
18972
  x-codegen-request-body-name: body
18951
- x-menu-order: 6
18952
- x-undo:
18953
- type: idempotent
18954
18973
  /api/v1/events:
18955
18974
  get:
18956
18975
  description: "The event stream can be queried and filtered by time, priority,
@@ -19061,9 +19080,6 @@ paths:
19061
19080
  summary: Get a list of events
19062
19081
  tags:
19063
19082
  - Events
19064
- x-menu-order: 1
19065
- x-undo:
19066
- type: safe
19067
19083
  post:
19068
19084
  description: 'This endpoint allows you to post events to the stream.
19069
19085
 
@@ -19097,9 +19113,6 @@ paths:
19097
19113
  tags:
19098
19114
  - Events
19099
19115
  x-codegen-request-body-name: body
19100
- x-menu-order: 1
19101
- x-undo:
19102
- type: safe
19103
19116
  /api/v1/events/{event_id}:
19104
19117
  get:
19105
19118
  description: "This endpoint allows you to query for event details.\n\n**Note**:
@@ -19143,9 +19156,6 @@ paths:
19143
19156
  summary: Get an event
19144
19157
  tags:
19145
19158
  - Events
19146
- x-menu-order: 2
19147
- x-undo:
19148
- type: safe
19149
19159
  /api/v1/graph/snapshot:
19150
19160
  get:
19151
19161
  description: 'Take graph snapshots.
@@ -19240,9 +19250,6 @@ paths:
19240
19250
  summary: Take graph snapshots
19241
19251
  tags:
19242
19252
  - Snapshots
19243
- x-menu-order: 1
19244
- x-undo:
19245
- type: safe
19246
19253
  /api/v1/host/{host_name}/mute:
19247
19254
  post:
19248
19255
  description: Mute a host.
@@ -19286,9 +19293,6 @@ paths:
19286
19293
  tags:
19287
19294
  - Hosts
19288
19295
  x-codegen-request-body-name: body
19289
- x-menu-order: 3
19290
- x-undo:
19291
- type: safe
19292
19296
  /api/v1/host/{host_name}/unmute:
19293
19297
  post:
19294
19298
  description: Unmutes a host. This endpoint takes no JSON arguments.
@@ -19325,9 +19329,6 @@ paths:
19325
19329
  tags:
19326
19330
  - Hosts
19327
19331
  x-codegen-request-body-name: body
19328
- x-menu-order: 4
19329
- x-undo:
19330
- type: safe
19331
19332
  /api/v1/hosts:
19332
19333
  get:
19333
19334
  description: 'This endpoint allows searching for hosts by name, alias, or tag.
@@ -19421,9 +19422,6 @@ paths:
19421
19422
  summary: Get all hosts for your organization
19422
19423
  tags:
19423
19424
  - Hosts
19424
- x-menu-order: 1
19425
- x-undo:
19426
- type: safe
19427
19425
  /api/v1/hosts/totals:
19428
19426
  get:
19429
19427
  description: 'This endpoint returns the total number of active and up hosts
@@ -19469,9 +19467,6 @@ paths:
19469
19467
  summary: Get the total number of active hosts
19470
19468
  tags:
19471
19469
  - Hosts
19472
- x-menu-order: 2
19473
- x-undo:
19474
- type: safe
19475
19470
  /api/v1/integration/aws:
19476
19471
  delete:
19477
19472
  description: Delete a Datadog-AWS integration matching the specified `account_id`
@@ -19515,9 +19510,6 @@ paths:
19515
19510
  tags:
19516
19511
  - AWS Integration
19517
19512
  x-codegen-request-body-name: body
19518
- x-menu-order: 7
19519
- x-undo:
19520
- type: idempotent
19521
19513
  get:
19522
19514
  description: List all Datadog-AWS integrations available in your Datadog organization.
19523
19515
  operationId: ListAWSAccounts
@@ -19564,9 +19556,6 @@ paths:
19564
19556
  summary: List all AWS integrations
19565
19557
  tags:
19566
19558
  - AWS Integration
19567
- x-menu-order: 6
19568
- x-undo:
19569
- type: safe
19570
19559
  post:
19571
19560
  description: 'Create a Datadog-Amazon Web Services integration.
19572
19561
 
@@ -19614,11 +19603,6 @@ paths:
19614
19603
  tags:
19615
19604
  - AWS Integration
19616
19605
  x-codegen-request-body-name: body
19617
- x-menu-order: 8
19618
- x-undo:
19619
- operationId: DeleteAWSAccount
19620
- parameters: []
19621
- type: unsafe
19622
19606
  put:
19623
19607
  description: Update a Datadog-Amazon Web Services integration.
19624
19608
  operationId: UpdateAWSAccount
@@ -19683,9 +19667,6 @@ paths:
19683
19667
  tags:
19684
19668
  - AWS Integration
19685
19669
  x-codegen-request-body-name: body
19686
- x-menu-order: 9
19687
- x-undo:
19688
- type: safe
19689
19670
  /api/v1/integration/aws/available_namespace_rules:
19690
19671
  get:
19691
19672
  description: List all namespace rules for a given Datadog-AWS integration. This
@@ -19715,9 +19696,6 @@ paths:
19715
19696
  summary: List namespace rules
19716
19697
  tags:
19717
19698
  - AWS Integration
19718
- x-menu-order: 5
19719
- x-undo:
19720
- type: safe
19721
19699
  /api/v1/integration/aws/filtering:
19722
19700
  delete:
19723
19701
  description: Delete a tag filtering entry.
@@ -19756,9 +19734,6 @@ paths:
19756
19734
  tags:
19757
19735
  - AWS Integration
19758
19736
  x-codegen-request-body-name: body
19759
- x-menu-order: 3
19760
- x-undo:
19761
- type: idempotent
19762
19737
  get:
19763
19738
  description: Get all AWS tag filters.
19764
19739
  operationId: ListAWSTagFilters
@@ -19793,9 +19768,6 @@ paths:
19793
19768
  summary: Get all AWS tag filters
19794
19769
  tags:
19795
19770
  - AWS Integration
19796
- x-menu-order: 1
19797
- x-undo:
19798
- type: safe
19799
19771
  post:
19800
19772
  description: Set an AWS tag filter.
19801
19773
  operationId: CreateAWSTagFilter
@@ -19836,11 +19808,6 @@ paths:
19836
19808
  tags:
19837
19809
  - AWS Integration
19838
19810
  x-codegen-request-body-name: body
19839
- x-menu-order: 2
19840
- x-undo:
19841
- operationId: DeleteAWSTagFilter
19842
- parameters: []
19843
- type: unsafe
19844
19811
  /api/v1/integration/aws/generate_new_external_id:
19845
19812
  put:
19846
19813
  description: Generate a new AWS external ID for a given AWS account ID and role
@@ -19882,9 +19849,6 @@ paths:
19882
19849
  tags:
19883
19850
  - AWS Integration
19884
19851
  x-codegen-request-body-name: body
19885
- x-menu-order: 4
19886
- x-undo:
19887
- type: idempotent
19888
19852
  /api/v1/integration/aws/logs:
19889
19853
  delete:
19890
19854
  description: Delete a Datadog-AWS logs configuration by removing the specific
@@ -19922,9 +19886,6 @@ paths:
19922
19886
  tags:
19923
19887
  - AWS Logs Integration
19924
19888
  x-codegen-request-body-name: body
19925
- x-menu-order: 3
19926
- x-undo:
19927
- type: idempotent
19928
19889
  get:
19929
19890
  description: List all Datadog-AWS Logs integrations configured in your Datadog
19930
19891
  account.
@@ -19965,9 +19926,6 @@ paths:
19965
19926
  summary: List all AWS Logs integrations
19966
19927
  tags:
19967
19928
  - AWS Logs Integration
19968
- x-menu-order: 1
19969
- x-undo:
19970
- type: safe
19971
19929
  post:
19972
19930
  description: Attach the Lambda ARN of the Lambda created for the Datadog-AWS
19973
19931
  log collection to your AWS account ID to enable log collection.
@@ -20004,11 +19962,6 @@ paths:
20004
19962
  tags:
20005
19963
  - AWS Logs Integration
20006
19964
  x-codegen-request-body-name: body
20007
- x-menu-order: 2
20008
- x-undo:
20009
- operationId: DeleteAWSLambdaARN
20010
- parameters: []
20011
- type: unsafe
20012
19965
  /api/v1/integration/aws/logs/check_async:
20013
19966
  post:
20014
19967
  description: 'Test if permissions are present to add a log-forwarding triggers
@@ -20065,9 +20018,6 @@ paths:
20065
20018
  tags:
20066
20019
  - AWS Logs Integration
20067
20020
  x-codegen-request-body-name: body
20068
- x-menu-order: 7
20069
- x-undo:
20070
- type: safe
20071
20021
  /api/v1/integration/aws/logs/services:
20072
20022
  get:
20073
20023
  description: Get the list of current AWS services that Datadog offers automatic
@@ -20107,9 +20057,6 @@ paths:
20107
20057
  summary: Get list of AWS log ready services
20108
20058
  tags:
20109
20059
  - AWS Logs Integration
20110
- x-menu-order: 4
20111
- x-undo:
20112
- type: safe
20113
20060
  post:
20114
20061
  description: Enable automatic log collection for a list of services. This should
20115
20062
  be run after running `CreateAWSLambdaARN` to save the configuration.
@@ -20146,10 +20093,6 @@ paths:
20146
20093
  tags:
20147
20094
  - AWS Logs Integration
20148
20095
  x-codegen-request-body-name: body
20149
- x-menu-order: 5
20150
- x-undo:
20151
- operationId: TODO
20152
- type: unsafe
20153
20096
  /api/v1/integration/aws/logs/services_async:
20154
20097
  post:
20155
20098
  description: "Test if permissions are present to add log-forwarding triggers
@@ -20192,9 +20135,6 @@ paths:
20192
20135
  tags:
20193
20136
  - AWS Logs Integration
20194
20137
  x-codegen-request-body-name: body
20195
- x-menu-order: 6
20196
- x-undo:
20197
- type: safe
20198
20138
  /api/v1/integration/azure:
20199
20139
  delete:
20200
20140
  description: Delete a given Datadog-Azure integration from your Datadog account.
@@ -20232,9 +20172,6 @@ paths:
20232
20172
  tags:
20233
20173
  - Azure Integration
20234
20174
  x-codegen-request-body-name: body
20235
- x-menu-order: 3
20236
- x-undo:
20237
- type: idempotent
20238
20175
  get:
20239
20176
  description: List all Datadog-Azure integrations configured in your Datadog
20240
20177
  account.
@@ -20263,9 +20200,6 @@ paths:
20263
20200
  summary: List all Azure integrations
20264
20201
  tags:
20265
20202
  - Azure Integration
20266
- x-menu-order: 1
20267
- x-undo:
20268
- type: safe
20269
20203
  post:
20270
20204
  description: 'Create a Datadog-Azure integration.
20271
20205
 
@@ -20315,11 +20249,6 @@ paths:
20315
20249
  tags:
20316
20250
  - Azure Integration
20317
20251
  x-codegen-request-body-name: body
20318
- x-menu-order: 2
20319
- x-undo:
20320
- operationId: DeleteAzureIntegration
20321
- parameters: []
20322
- type: unsafe
20323
20252
  put:
20324
20253
  description: 'Update a Datadog-Azure integration. Requires an existing `tenant_name`
20325
20254
  and `client_id`.
@@ -20363,9 +20292,6 @@ paths:
20363
20292
  tags:
20364
20293
  - Azure Integration
20365
20294
  x-codegen-request-body-name: body
20366
- x-menu-order: 4
20367
- x-undo:
20368
- type: idempotent
20369
20295
  /api/v1/integration/azure/host_filters:
20370
20296
  post:
20371
20297
  description: Update the defined list of host filters for a given Datadog-Azure
@@ -20404,9 +20330,6 @@ paths:
20404
20330
  tags:
20405
20331
  - Azure Integration
20406
20332
  x-codegen-request-body-name: body
20407
- x-menu-order: 5
20408
- x-undo:
20409
- type: safe
20410
20333
  /api/v1/integration/gcp:
20411
20334
  delete:
20412
20335
  description: Delete a given Datadog-GCP integration.
@@ -20444,9 +20367,6 @@ paths:
20444
20367
  tags:
20445
20368
  - GCP Integration
20446
20369
  x-codegen-request-body-name: body
20447
- x-menu-order: 3
20448
- x-undo:
20449
- type: idempotent
20450
20370
  get:
20451
20371
  description: List all Datadog-GCP integrations configured in your Datadog account.
20452
20372
  operationId: ListGCPIntegration
@@ -20474,9 +20394,6 @@ paths:
20474
20394
  summary: List all GCP integrations
20475
20395
  tags:
20476
20396
  - GCP Integration
20477
- x-menu-order: 1
20478
- x-undo:
20479
- type: safe
20480
20397
  post:
20481
20398
  description: Create a Datadog-GCP integration.
20482
20399
  operationId: CreateGCPIntegration
@@ -20513,11 +20430,6 @@ paths:
20513
20430
  tags:
20514
20431
  - GCP Integration
20515
20432
  x-codegen-request-body-name: body
20516
- x-menu-order: 2
20517
- x-undo:
20518
- operationId: DeleteGCPIntegration
20519
- parameters: []
20520
- type: unsafe
20521
20433
  put:
20522
20434
  description: 'Update a Datadog-GCP integrations host_filters and/or auto-mute.
20523
20435
 
@@ -20561,9 +20473,6 @@ paths:
20561
20473
  tags:
20562
20474
  - GCP Integration
20563
20475
  x-codegen-request-body-name: body
20564
- x-menu-order: 4
20565
- x-undo:
20566
- type: idempotent
20567
20476
  /api/v1/integration/pagerduty/configuration/services:
20568
20477
  post:
20569
20478
  description: Create a new service object in the PagerDuty integration.
@@ -20600,13 +20509,6 @@ paths:
20600
20509
  tags:
20601
20510
  - PagerDuty Integration
20602
20511
  x-codegen-request-body-name: body
20603
- x-menu-order: 1
20604
- x-undo:
20605
- operationId: DeletePagerDutyIntegrationService
20606
- parameters:
20607
- - name: service_name
20608
- source: service_name
20609
- type: unsafe
20610
20512
  /api/v1/integration/pagerduty/configuration/services/{service_name}:
20611
20513
  delete:
20612
20514
  description: Delete a single service object in the Datadog-PagerDuty integration.
@@ -20619,8 +20521,8 @@ paths:
20619
20521
  schema:
20620
20522
  type: string
20621
20523
  responses:
20622
- '200':
20623
- description: OK
20524
+ '204':
20525
+ description: No Content
20624
20526
  '403':
20625
20527
  content:
20626
20528
  application/json:
@@ -20638,9 +20540,6 @@ paths:
20638
20540
  summary: Delete a single service object
20639
20541
  tags:
20640
20542
  - PagerDuty Integration
20641
- x-menu-order: 4
20642
- x-undo:
20643
- type: idempotent
20644
20543
  get:
20645
20544
  description: Get service name in the Datadog-PagerDuty integration.
20646
20545
  operationId: GetPagerDutyIntegrationService
@@ -20675,9 +20574,6 @@ paths:
20675
20574
  summary: Get a single service object
20676
20575
  tags:
20677
20576
  - PagerDuty Integration
20678
- x-menu-order: 2
20679
- x-undo:
20680
- type: safe
20681
20577
  put:
20682
20578
  description: Update a single service object in the Datadog-PagerDuty integration.
20683
20579
  operationId: UpdatePagerDutyIntegrationService
@@ -20722,9 +20618,6 @@ paths:
20722
20618
  tags:
20723
20619
  - PagerDuty Integration
20724
20620
  x-codegen-request-body-name: body
20725
- x-menu-order: 3
20726
- x-undo:
20727
- type: idempotent
20728
20621
  /api/v1/integration/slack/configuration/accounts/{account_name}/channels:
20729
20622
  get:
20730
20623
  description: Get a list of all channels configured for your Datadog-Slack integration.
@@ -20761,9 +20654,6 @@ paths:
20761
20654
  summary: Get all channels in a Slack integration
20762
20655
  tags:
20763
20656
  - Slack Integration
20764
- x-menu-order: 1
20765
- x-undo:
20766
- type: safe
20767
20657
  post:
20768
20658
  description: Add a channel to your Datadog-Slack integration.
20769
20659
  operationId: CreateSlackIntegrationChannel
@@ -20807,9 +20697,6 @@ paths:
20807
20697
  tags:
20808
20698
  - Slack Integration
20809
20699
  x-codegen-request-body-name: body
20810
- x-menu-order: 2
20811
- x-undo:
20812
- type: unsafe
20813
20700
  /api/v1/integration/slack/configuration/accounts/{account_name}/channels/{channel_name}:
20814
20701
  delete:
20815
20702
  description: Remove a channel from your Datadog-Slack integration.
@@ -20843,9 +20730,6 @@ paths:
20843
20730
  summary: Remove a Slack integration channel
20844
20731
  tags:
20845
20732
  - Slack Integration
20846
- x-menu-order: 5
20847
- x-undo:
20848
- type: idempotent
20849
20733
  get:
20850
20734
  description: Get a channel configured for your Datadog-Slack integration.
20851
20735
  operationId: GetSlackIntegrationChannel
@@ -20882,9 +20766,6 @@ paths:
20882
20766
  summary: Get a Slack integration channel
20883
20767
  tags:
20884
20768
  - Slack Integration
20885
- x-menu-order: 3
20886
- x-undo:
20887
- type: safe
20888
20769
  patch:
20889
20770
  description: Update a channel used in your Datadog-Slack integration.
20890
20771
  operationId: UpdateSlackIntegrationChannel
@@ -20929,9 +20810,6 @@ paths:
20929
20810
  tags:
20930
20811
  - Slack Integration
20931
20812
  x-codegen-request-body-name: body
20932
- x-menu-order: 4
20933
- x-undo:
20934
- type: idempotent
20935
20813
  /api/v1/integration/webhooks/configuration/custom-variables:
20936
20814
  post:
20937
20815
  description: Creates an endpoint with the name `<CUSTOM_VARIABLE_NAME>`.
@@ -20968,20 +20846,6 @@ paths:
20968
20846
  tags:
20969
20847
  - Webhooks Integration
20970
20848
  x-codegen-request-body-name: body
20971
- x-given:
20972
- webhook_custom_variable:
20973
- parameters:
20974
- - name: body
20975
- value: "{\n \"name\": \"{{ unique_upper_alnum }}\",\n \"value\": \"variable-value\",\n
20976
- \ \"is_secret\": false\n}"
20977
- step: there is a valid "webhook_custom_variable" in the system
20978
- x-menu-order: 5
20979
- x-undo:
20980
- operationId: DeleteWebhooksIntegrationCustomVariable
20981
- parameters:
20982
- - name: custom_variable_name
20983
- source: name
20984
- type: unsafe
20985
20849
  /api/v1/integration/webhooks/configuration/custom-variables/{custom_variable_name}:
20986
20850
  delete:
20987
20851
  description: Deletes the endpoint with the name `<CUSTOM_VARIABLE_NAME>`.
@@ -21013,9 +20877,6 @@ paths:
21013
20877
  summary: Delete a custom variable
21014
20878
  tags:
21015
20879
  - Webhooks Integration
21016
- x-menu-order: 8
21017
- x-undo:
21018
- type: idempotent
21019
20880
  get:
21020
20881
  description: 'Shows the content of the custom variable with the name `<CUSTOM_VARIABLE_NAME>`.
21021
20882
 
@@ -21061,9 +20922,6 @@ paths:
21061
20922
  summary: Get a custom variable
21062
20923
  tags:
21063
20924
  - Webhooks Integration
21064
- x-menu-order: 6
21065
- x-undo:
21066
- type: safe
21067
20925
  put:
21068
20926
  description: Updates the endpoint with the name `<CUSTOM_VARIABLE_NAME>`.
21069
20927
  operationId: UpdateWebhooksIntegrationCustomVariable
@@ -21112,9 +20970,6 @@ paths:
21112
20970
  tags:
21113
20971
  - Webhooks Integration
21114
20972
  x-codegen-request-body-name: body
21115
- x-menu-order: 7
21116
- x-undo:
21117
- type: safe
21118
20973
  /api/v1/integration/webhooks/configuration/webhooks:
21119
20974
  post:
21120
20975
  description: Creates an endpoint with the name `<WEBHOOK_NAME>`.
@@ -21151,19 +21006,6 @@ paths:
21151
21006
  tags:
21152
21007
  - Webhooks Integration
21153
21008
  x-codegen-request-body-name: body
21154
- x-given:
21155
- webhook:
21156
- parameters:
21157
- - name: body
21158
- value: "{\n \"name\": \"{{ unique }}\",\n \"url\": \"http://example.com/webhook\"\n}"
21159
- step: there is a valid "webhook" in the system
21160
- x-menu-order: 1
21161
- x-undo:
21162
- operationId: DeleteWebhooksIntegration
21163
- parameters:
21164
- - name: webhook_name
21165
- source: name
21166
- type: unsafe
21167
21009
  /api/v1/integration/webhooks/configuration/webhooks/{webhook_name}:
21168
21010
  delete:
21169
21011
  description: Deletes the endpoint with the name `<WEBHOOK NAME>`.
@@ -21195,9 +21037,6 @@ paths:
21195
21037
  summary: Delete a webhook
21196
21038
  tags:
21197
21039
  - Webhooks Integration
21198
- x-menu-order: 4
21199
- x-undo:
21200
- type: idempotent
21201
21040
  get:
21202
21041
  description: Gets the content of the webhook with the name `<WEBHOOK_NAME>`.
21203
21042
  operationId: GetWebhooksIntegration
@@ -21238,9 +21077,6 @@ paths:
21238
21077
  summary: Get a webhook integration
21239
21078
  tags:
21240
21079
  - Webhooks Integration
21241
- x-menu-order: 2
21242
- x-undo:
21243
- type: safe
21244
21080
  put:
21245
21081
  description: Updates the endpoint with the name `<WEBHOOK_NAME>`.
21246
21082
  operationId: UpdateWebhooksIntegration
@@ -21289,9 +21125,6 @@ paths:
21289
21125
  tags:
21290
21126
  - Webhooks Integration
21291
21127
  x-codegen-request-body-name: body
21292
- x-menu-order: 3
21293
- x-undo:
21294
- type: safe
21295
21128
  /api/v1/logs-queries/list:
21296
21129
  post:
21297
21130
  description: 'List endpoint returns logs that match a log search query.
@@ -21342,9 +21175,6 @@ paths:
21342
21175
  tags:
21343
21176
  - Logs
21344
21177
  x-codegen-request-body-name: body
21345
- x-menu-order: 1
21346
- x-undo:
21347
- type: safe
21348
21178
  /api/v1/logs/config/index-order:
21349
21179
  get:
21350
21180
  description: Get the current order of your log indexes. This endpoint takes
@@ -21372,9 +21202,6 @@ paths:
21372
21202
  summary: Get indexes order
21373
21203
  tags:
21374
21204
  - Logs Indexes
21375
- x-menu-order: 5
21376
- x-undo:
21377
- type: safe
21378
21205
  put:
21379
21206
  description: 'This endpoint updates the index order of your organization.
21380
21207
 
@@ -21413,9 +21240,6 @@ paths:
21413
21240
  tags:
21414
21241
  - Logs Indexes
21415
21242
  x-codegen-request-body-name: body
21416
- x-menu-order: 6
21417
- x-undo:
21418
- type: idempotent
21419
21243
  /api/v1/logs/config/indexes:
21420
21244
  get:
21421
21245
  description: 'The Index object describes the configuration of a log index.
@@ -21444,9 +21268,6 @@ paths:
21444
21268
  summary: Get all indexes
21445
21269
  tags:
21446
21270
  - Logs Indexes
21447
- x-menu-order: 1
21448
- x-undo:
21449
- type: safe
21450
21271
  post:
21451
21272
  description: Creates a new index. Returns the Index object passed in the request
21452
21273
  body when the request is successful.
@@ -21483,11 +21304,6 @@ paths:
21483
21304
  tags:
21484
21305
  - Logs Indexes
21485
21306
  x-codegen-request-body-name: body
21486
- x-menu-order: 2
21487
- x-undo:
21488
- operationId: TODO
21489
- parameters: []
21490
- type: unsafe
21491
21307
  /api/v1/logs/config/indexes/{name}:
21492
21308
  get:
21493
21309
  description: Get one log index from your organization. This endpoint takes no
@@ -21524,9 +21340,6 @@ paths:
21524
21340
  summary: Get an index
21525
21341
  tags:
21526
21342
  - Logs Indexes
21527
- x-menu-order: 3
21528
- x-undo:
21529
- type: safe
21530
21343
  put:
21531
21344
  description: "Update an index as identified by its name.\nReturns the Index
21532
21345
  object passed in the request body when the request is successful.\n\nUsing
@@ -21576,9 +21389,6 @@ paths:
21576
21389
  tags:
21577
21390
  - Logs Indexes
21578
21391
  x-codegen-request-body-name: body
21579
- x-menu-order: 4
21580
- x-undo:
21581
- type: idempotent
21582
21392
  /api/v1/logs/config/pipeline-order:
21583
21393
  get:
21584
21394
  description: 'Get the current order of your pipelines.
@@ -21607,9 +21417,6 @@ paths:
21607
21417
  summary: Get pipeline order
21608
21418
  tags:
21609
21419
  - Logs Pipelines
21610
- x-menu-order: 1
21611
- x-undo:
21612
- type: safe
21613
21420
  put:
21614
21421
  description: 'Update the order of your pipelines. Since logs are processed sequentially,
21615
21422
  reordering a pipeline may change
@@ -21661,9 +21468,6 @@ paths:
21661
21468
  tags:
21662
21469
  - Logs Pipelines
21663
21470
  x-codegen-request-body-name: body
21664
- x-menu-order: 2
21665
- x-undo:
21666
- type: idempotent
21667
21471
  /api/v1/logs/config/pipelines:
21668
21472
  get:
21669
21473
  description: 'Get all pipelines from your organization.
@@ -21692,9 +21496,6 @@ paths:
21692
21496
  summary: Get all pipelines
21693
21497
  tags:
21694
21498
  - Logs Pipelines
21695
- x-menu-order: 3
21696
- x-undo:
21697
- type: safe
21698
21499
  post:
21699
21500
  description: Create a pipeline in your organization.
21700
21501
  operationId: CreateLogsPipeline
@@ -21730,13 +21531,6 @@ paths:
21730
21531
  tags:
21731
21532
  - Logs Pipelines
21732
21533
  x-codegen-request-body-name: body
21733
- x-menu-order: 4
21734
- x-undo:
21735
- operationId: DeleteLogsPipeline
21736
- parameters:
21737
- - name: pipeline_id
21738
- source: id
21739
- type: unsafe
21740
21534
  /api/v1/logs/config/pipelines/{pipeline_id}:
21741
21535
  delete:
21742
21536
  description: 'Delete a given pipeline from your organization.
@@ -21770,9 +21564,6 @@ paths:
21770
21564
  summary: Delete a pipeline
21771
21565
  tags:
21772
21566
  - Logs Pipelines
21773
- x-menu-order: 6
21774
- x-undo:
21775
- type: idempotent
21776
21567
  get:
21777
21568
  description: 'Get a specific pipeline from your organization.
21778
21569
 
@@ -21813,9 +21604,6 @@ paths:
21813
21604
  summary: Get a pipeline
21814
21605
  tags:
21815
21606
  - Logs Pipelines
21816
- x-menu-order: 5
21817
- x-undo:
21818
- type: safe
21819
21607
  put:
21820
21608
  description: "Update a given pipeline configuration to change it\u2019s processors
21821
21609
  or their order.\n\n**Note**: Using this method updates your pipeline configuration
@@ -21861,9 +21649,6 @@ paths:
21861
21649
  tags:
21862
21650
  - Logs Pipelines
21863
21651
  x-codegen-request-body-name: body
21864
- x-menu-order: 7
21865
- x-undo:
21866
- type: idempotent
21867
21652
  /api/v1/metrics:
21868
21653
  get:
21869
21654
  description: Get the list of actively reporting metrics from a given time until
@@ -21924,9 +21709,6 @@ paths:
21924
21709
  summary: Get active metrics list
21925
21710
  tags:
21926
21711
  - Metrics
21927
- x-menu-order: 1
21928
- x-undo:
21929
- type: safe
21930
21712
  /api/v1/metrics/{metric_name}:
21931
21713
  get:
21932
21714
  description: Get metadata about a specific metric.
@@ -21967,9 +21749,6 @@ paths:
21967
21749
  summary: Get metric metadata
21968
21750
  tags:
21969
21751
  - Metrics
21970
- x-menu-order: 2
21971
- x-undo:
21972
- type: safe
21973
21752
  put:
21974
21753
  description: Edit metadata of a specific metric. Find out more about [supported
21975
21754
  types](https://docs.datadoghq.com/developers/metrics).
@@ -22019,9 +21798,6 @@ paths:
22019
21798
  tags:
22020
21799
  - Metrics
22021
21800
  x-codegen-request-body-name: body
22022
- x-menu-order: 3
22023
- x-undo:
22024
- type: idempotent
22025
21801
  /api/v1/monitor:
22026
21802
  get:
22027
21803
  description: Get details about the specified monitor from your organization.
@@ -22132,9 +21908,6 @@ paths:
22132
21908
  summary: Get all monitor details
22133
21909
  tags:
22134
21910
  - Monitors
22135
- x-menu-order: 2
22136
- x-undo:
22137
- type: safe
22138
21911
  post:
22139
21912
  description: 'Create a monitor using the specified options.
22140
21913
 
@@ -22557,19 +22330,6 @@ paths:
22557
22330
  tags:
22558
22331
  - Monitors
22559
22332
  x-codegen-request-body-name: body
22560
- x-given:
22561
- monitor:
22562
- parameters:
22563
- - file: monitor_payload.json
22564
- name: body
22565
- step: there is a valid "monitor" in the system
22566
- x-menu-order: 1
22567
- x-undo:
22568
- operationId: DeleteMonitor
22569
- parameters:
22570
- - name: monitor_id
22571
- source: id
22572
- type: unsafe
22573
22333
  /api/v1/monitor/can_delete:
22574
22334
  get:
22575
22335
  description: Check if the given monitors can be deleted.
@@ -22622,9 +22382,6 @@ paths:
22622
22382
  summary: Check if a monitor can be deleted
22623
22383
  tags:
22624
22384
  - Monitors
22625
- x-menu-order: 6
22626
- x-undo:
22627
- type: safe
22628
22385
  /api/v1/monitor/groups/search:
22629
22386
  get:
22630
22387
  description: Search and filter your monitor groups details.
@@ -22711,9 +22468,6 @@ paths:
22711
22468
  summary: Monitors group search
22712
22469
  tags:
22713
22470
  - Monitors
22714
- x-menu-order: 2
22715
- x-undo:
22716
- type: safe
22717
22471
  /api/v1/monitor/search:
22718
22472
  get:
22719
22473
  description: Search and filter your monitors details.
@@ -22800,9 +22554,6 @@ paths:
22800
22554
  summary: Monitors search
22801
22555
  tags:
22802
22556
  - Monitors
22803
- x-menu-order: 1
22804
- x-undo:
22805
- type: safe
22806
22557
  /api/v1/monitor/validate:
22807
22558
  post:
22808
22559
  description: Validate the monitor provided in the request.
@@ -22845,9 +22596,6 @@ paths:
22845
22596
  tags:
22846
22597
  - Monitors
22847
22598
  x-codegen-request-body-name: body
22848
- x-menu-order: 7
22849
- x-undo:
22850
- type: idempotent
22851
22599
  /api/v1/monitor/{monitor_id}:
22852
22600
  delete:
22853
22601
  description: Delete the specified monitor
@@ -22910,9 +22658,6 @@ paths:
22910
22658
  summary: Delete a monitor
22911
22659
  tags:
22912
22660
  - Monitors
22913
- x-menu-order: 5
22914
- x-undo:
22915
- type: idempotent
22916
22661
  get:
22917
22662
  description: Get details about the specified monitor from your organization.
22918
22663
  operationId: GetMonitor
@@ -22967,9 +22712,6 @@ paths:
22967
22712
  summary: Get a monitor's details
22968
22713
  tags:
22969
22714
  - Monitors
22970
- x-menu-order: 4
22971
- x-undo:
22972
- type: safe
22973
22715
  put:
22974
22716
  description: Edit the specified monitor.
22975
22717
  operationId: UpdateMonitor
@@ -23031,9 +22773,6 @@ paths:
23031
22773
  tags:
23032
22774
  - Monitors
23033
22775
  x-codegen-request-body-name: body
23034
- x-menu-order: 3
23035
- x-undo:
23036
- type: idempotent
23037
22776
  /api/v1/monitor/{monitor_id}/downtimes:
23038
22777
  get:
23039
22778
  description: Get all active downtimes for the specified monitor.
@@ -23078,9 +22817,6 @@ paths:
23078
22817
  tags:
23079
22818
  - Downtimes
23080
22819
  x-codegen-request-body-name: body
23081
- x-menu-order: 7
23082
- x-undo:
23083
- type: safe
23084
22820
  /api/v1/monitor/{monitor_id}/validate:
23085
22821
  post:
23086
22822
  description: Validate the monitor provided in the request.
@@ -23132,13 +22868,15 @@ paths:
23132
22868
  tags:
23133
22869
  - Monitors
23134
22870
  x-codegen-request-body-name: body
23135
- x-menu-order: 8
23136
- x-undo:
23137
- type: idempotent
23138
22871
  /api/v1/monthly_custom_reports:
23139
22872
  get:
23140
22873
  deprecated: true
23141
- description: Get monthly custom reports.
22874
+ description: 'Get monthly custom reports.
22875
+
22876
+ **Note:** This endpoint will be fully deprecated on December 1, 2022.
22877
+
22878
+ Refer to [Migrating from v1 to v2 of the Usage Attribution API](https://docs.datadoghq.com/account_management/guide/usage-attribution-migration/)
22879
+ for the associated migration guide.'
23142
22880
  operationId: GetMonthlyCustomReports
23143
22881
  parameters:
23144
22882
  - description: The number of files to return in the response `[default=60].`
@@ -23195,16 +22933,15 @@ paths:
23195
22933
  summary: Get the list of available monthly custom reports
23196
22934
  tags:
23197
22935
  - Usage Metering
23198
- x-menu-order: 42
23199
- x-undo:
23200
- type: safe
23201
- x-unstable: '**Note**: This endpoint is in public beta.
23202
-
23203
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
23204
22936
  /api/v1/monthly_custom_reports/{report_id}:
23205
22937
  get:
23206
22938
  deprecated: true
23207
- description: Get specified monthly custom reports.
22939
+ description: 'Get specified monthly custom reports.
22940
+
22941
+ **Note:** This endpoint will be fully deprecated on December 1, 2022.
22942
+
22943
+ Refer to [Migrating from v1 to v2 of the Usage Attribution API](https://docs.datadoghq.com/account_management/guide/usage-attribution-migration/)
22944
+ for the associated migration guide.'
23208
22945
  operationId: GetSpecifiedMonthlyCustomReports
23209
22946
  parameters:
23210
22947
  - description: Date of the report in the format `YYYY-MM-DD`.
@@ -23252,12 +22989,6 @@ paths:
23252
22989
  summary: Get specified monthly custom reports
23253
22990
  tags:
23254
22991
  - Usage Metering
23255
- x-menu-order: 43
23256
- x-undo:
23257
- type: safe
23258
- x-unstable: '**Note**: This endpoint is in public beta.
23259
-
23260
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
23261
22992
  /api/v1/notebooks:
23262
22993
  get:
23263
22994
  description: 'Get all notebooks. This can also be used to search for notebooks
@@ -23380,8 +23111,6 @@ paths:
23380
23111
  summary: Get all notebooks
23381
23112
  tags:
23382
23113
  - Notebooks
23383
- x-undo:
23384
- type: safe
23385
23114
  post:
23386
23115
  description: Create a notebook using the specified options.
23387
23116
  operationId: CreateNotebook
@@ -23454,18 +23183,6 @@ paths:
23454
23183
  tags:
23455
23184
  - Notebooks
23456
23185
  x-codegen-request-body-name: body
23457
- x-given:
23458
- notebook:
23459
- parameters:
23460
- - file: notebook_payload.json
23461
- name: body
23462
- step: there is a valid "notebook" in the system
23463
- x-undo:
23464
- operationId: DeleteNotebook
23465
- parameters:
23466
- - name: notebook_id
23467
- source: data.id
23468
- type: unsafe
23469
23186
  /api/v1/notebooks/{notebook_id}:
23470
23187
  delete:
23471
23188
  description: Delete a notebook using the specified ID.
@@ -23504,8 +23221,6 @@ paths:
23504
23221
  summary: Delete a notebook
23505
23222
  tags:
23506
23223
  - Notebooks
23507
- x-undo:
23508
- type: idempotent
23509
23224
  get:
23510
23225
  description: Get a notebook using the specified notebook ID.
23511
23226
  operationId: GetNotebook
@@ -23547,8 +23262,6 @@ paths:
23547
23262
  summary: Get a notebook
23548
23263
  tags:
23549
23264
  - Notebooks
23550
- x-undo:
23551
- type: safe
23552
23265
  put:
23553
23266
  description: Update a notebook using the specified ID.
23554
23267
  operationId: UpdateNotebook
@@ -23642,8 +23355,6 @@ paths:
23642
23355
  tags:
23643
23356
  - Notebooks
23644
23357
  x-codegen-request-body-name: body
23645
- x-undo:
23646
- type: idempotent
23647
23358
  /api/v1/org:
23648
23359
  get:
23649
23360
  description: This endpoint returns data on your top-level organization.
@@ -23666,9 +23377,6 @@ paths:
23666
23377
  summary: List your managed organizations
23667
23378
  tags:
23668
23379
  - Organizations
23669
- x-menu-order: 2
23670
- x-undo:
23671
- type: safe
23672
23380
  post:
23673
23381
  description: 'Create a child organization.
23674
23382
 
@@ -23720,11 +23428,6 @@ paths:
23720
23428
  tags:
23721
23429
  - Organizations
23722
23430
  x-codegen-request-body-name: body
23723
- x-menu-order: 1
23724
- x-undo:
23725
- operationId: TODO
23726
- parameters: []
23727
- type: unsafe
23728
23431
  /api/v1/org/{public_id}:
23729
23432
  get:
23730
23433
  description: Get organization information.
@@ -23761,9 +23464,6 @@ paths:
23761
23464
  summary: Get organization information
23762
23465
  tags:
23763
23466
  - Organizations
23764
- x-menu-order: 3
23765
- x-undo:
23766
- type: safe
23767
23467
  put:
23768
23468
  description: Update your organization.
23769
23469
  operationId: UpdateOrg
@@ -23806,9 +23506,6 @@ paths:
23806
23506
  tags:
23807
23507
  - Organizations
23808
23508
  x-codegen-request-body-name: body
23809
- x-menu-order: 4
23810
- x-undo:
23811
- type: idempotent
23812
23509
  /api/v1/org/{public_id}/downgrade:
23813
23510
  post:
23814
23511
  description: Only available for MSP customers. Removes a child organization
@@ -23847,9 +23544,6 @@ paths:
23847
23544
  summary: Spin-off Child Organization
23848
23545
  tags:
23849
23546
  - Organizations
23850
- x-menu-order: 6
23851
- x-undo:
23852
- type: unsafe
23853
23547
  /api/v1/org/{public_id}/idp_metadata:
23854
23548
  post:
23855
23549
  description: 'There are a couple of options for updating the Identity Provider
@@ -23908,9 +23602,6 @@ paths:
23908
23602
  tags:
23909
23603
  - Organizations
23910
23604
  x-codegen-request-body-name: body
23911
- x-menu-order: 5
23912
- x-undo:
23913
- type: safe
23914
23605
  /api/v1/query:
23915
23606
  get:
23916
23607
  description: Query timeseries points.
@@ -23965,9 +23656,6 @@ paths:
23965
23656
  summary: Query timeseries points
23966
23657
  tags:
23967
23658
  - Metrics
23968
- x-menu-order: 5
23969
- x-undo:
23970
- type: safe
23971
23659
  /api/v1/search:
23972
23660
  get:
23973
23661
  description: Search for metrics from the last 24 hours in Datadog.
@@ -24008,9 +23696,6 @@ paths:
24008
23696
  summary: Search metrics
24009
23697
  tags:
24010
23698
  - Metrics
24011
- x-menu-order: 4
24012
- x-undo:
24013
- type: safe
24014
23699
  /api/v1/security_analytics/signals/{signal_id}/add_to_incident:
24015
23700
  patch:
24016
23701
  description: Add a security signal to an incident. This makes it possible to
@@ -24057,8 +23742,6 @@ paths:
24057
23742
  tags:
24058
23743
  - Security Monitoring
24059
23744
  x-codegen-request-body-name: body
24060
- x-undo:
24061
- type: idempotent
24062
23745
  /api/v1/security_analytics/signals/{signal_id}/assignee:
24063
23746
  patch:
24064
23747
  description: Modify the triage assignee of a security signal.
@@ -24103,8 +23786,6 @@ paths:
24103
23786
  tags:
24104
23787
  - Security Monitoring
24105
23788
  x-codegen-request-body-name: body
24106
- x-undo:
24107
- type: idempotent
24108
23789
  /api/v1/security_analytics/signals/{signal_id}/state:
24109
23790
  patch:
24110
23791
  description: Change the triage state of a security signal.
@@ -24149,8 +23830,6 @@ paths:
24149
23830
  tags:
24150
23831
  - Security Monitoring
24151
23832
  x-codegen-request-body-name: body
24152
- x-undo:
24153
- type: idempotent
24154
23833
  /api/v1/series:
24155
23834
  post:
24156
23835
  description: "The metrics end-point allows you to post time-series data that
@@ -24223,15 +23902,6 @@ paths:
24223
23902
  tags:
24224
23903
  - Metrics
24225
23904
  x-codegen-request-body-name: body
24226
- x-given:
24227
- metric:
24228
- parameters:
24229
- - file: metric_payload.json
24230
- name: body
24231
- step: there is a valid "metric" in the system
24232
- x-menu-order: 1
24233
- x-undo:
24234
- type: safe
24235
23905
  /api/v1/slo:
24236
23906
  get:
24237
23907
  description: Get a list of service level objective objects for your organization.
@@ -24311,9 +23981,6 @@ paths:
24311
23981
  summary: Get all SLOs
24312
23982
  tags:
24313
23983
  - Service Level Objectives
24314
- x-menu-order: 2
24315
- x-undo:
24316
- type: safe
24317
23984
  post:
24318
23985
  description: Create a service level objective object.
24319
23986
  operationId: CreateSLO
@@ -24349,23 +24016,6 @@ paths:
24349
24016
  tags:
24350
24017
  - Service Level Objectives
24351
24018
  x-codegen-request-body-name: body
24352
- x-given:
24353
- slo:
24354
- parameters:
24355
- - name: body
24356
- value: "{\n \"type\": \"metric\",\n \"name\": \"{{ unique }}\",\n \"thresholds\":
24357
- [{\n \"timeframe\": \"7d\",\n \"target\": 95.0,\n \"warning\":
24358
- 98.0\n }],\n \"query\": {\n \"numerator\": \"sum:httpservice.hits{code:2xx}.as_count()\",\n
24359
- \ \"denominator\": \"sum:httpservice.hits{!code:3xx}.as_count()\"\n
24360
- \ }\n}"
24361
- step: there is a valid "slo" in the system
24362
- x-menu-order: 1
24363
- x-undo:
24364
- operationId: DeleteSLO
24365
- parameters:
24366
- - name: slo_id
24367
- source: data[0].id
24368
- type: unsafe
24369
24019
  /api/v1/slo/bulk_delete:
24370
24020
  post:
24371
24021
  description: 'Delete (or partially delete) multiple service level objective
@@ -24411,9 +24061,6 @@ paths:
24411
24061
  tags:
24412
24062
  - Service Level Objectives
24413
24063
  x-codegen-request-body-name: body
24414
- x-menu-order: 8
24415
- x-undo:
24416
- type: idempotent
24417
24064
  /api/v1/slo/can_delete:
24418
24065
  get:
24419
24066
  description: 'Check if an SLO can be safely deleted. For example,
@@ -24459,9 +24106,6 @@ paths:
24459
24106
  summary: Check if SLOs can be safely deleted
24460
24107
  tags:
24461
24108
  - Service Level Objectives
24462
- x-menu-order: 7
24463
- x-undo:
24464
- type: safe
24465
24109
  /api/v1/slo/correction:
24466
24110
  get:
24467
24111
  description: Get all Service Level Objective corrections.
@@ -24484,9 +24128,6 @@ paths:
24484
24128
  summary: Get all SLO corrections
24485
24129
  tags:
24486
24130
  - Service Level Objective Corrections
24487
- x-menu-order: 2
24488
- x-undo:
24489
- type: safe
24490
24131
  post:
24491
24132
  description: Create an SLO Correction.
24492
24133
  operationId: CreateSLOCorrection
@@ -24528,23 +24169,6 @@ paths:
24528
24169
  tags:
24529
24170
  - Service Level Objective Corrections
24530
24171
  x-codegen-request-body-name: body
24531
- x-given:
24532
- correction:
24533
- parameters:
24534
- - name: body
24535
- value: "{\n \"data\": {\n \"attributes\": {\n \"slo_id\": \"{{
24536
- slo.data[0].id }}\",\n \"start\": {{ timestamp(\"now\") }},\n \"end\":
24537
- {{ timestamp(\"now + 1h\") }},\n \"category\": \"Other\",\n \"timezone\":
24538
- \"UTC\",\n \"description\": \"Test Correction\"\n },\n \"type\":
24539
- \"correction\"\n }\n}"
24540
- step: there is a valid "correction" for "slo"
24541
- x-menu-order: 1
24542
- x-undo:
24543
- operationId: DeleteSLOCorrection
24544
- parameters:
24545
- - name: slo_correction_id
24546
- source: data.id
24547
- type: unsafe
24548
24172
  /api/v1/slo/correction/{slo_correction_id}:
24549
24173
  delete:
24550
24174
  description: Permanently delete the specified SLO correction object.
@@ -24576,9 +24200,6 @@ paths:
24576
24200
  summary: Delete an SLO correction
24577
24201
  tags:
24578
24202
  - Service Level Objective Corrections
24579
- x-menu-order: 5
24580
- x-undo:
24581
- type: idempotent
24582
24203
  get:
24583
24204
  description: Get an SLO correction.
24584
24205
  operationId: GetSLOCorrection
@@ -24613,9 +24234,6 @@ paths:
24613
24234
  summary: Get an SLO correction for an SLO
24614
24235
  tags:
24615
24236
  - Service Level Objective Corrections
24616
- x-menu-order: 3
24617
- x-undo:
24618
- type: safe
24619
24237
  patch:
24620
24238
  description: Update the specified SLO correction object.
24621
24239
  operationId: UpdateSLOCorrection
@@ -24664,9 +24282,6 @@ paths:
24664
24282
  tags:
24665
24283
  - Service Level Objective Corrections
24666
24284
  x-codegen-request-body-name: body
24667
- x-menu-order: 4
24668
- x-undo:
24669
- type: idempotent
24670
24285
  /api/v1/slo/search:
24671
24286
  get:
24672
24287
  description: Get a list of service level objective objects for your organization.
@@ -24747,9 +24362,6 @@ paths:
24747
24362
  summary: Search for SLOs
24748
24363
  tags:
24749
24364
  - Service Level Objectives
24750
- x-menu-order: 1
24751
- x-undo:
24752
- type: safe
24753
24365
  x-unstable: '**Note**: Note: This endpoint is in public beta for US regions.
24754
24366
 
24755
24367
  It is not currently supported in the EU region.
@@ -24808,9 +24420,6 @@ paths:
24808
24420
  summary: Delete an SLO
24809
24421
  tags:
24810
24422
  - Service Level Objectives
24811
- x-menu-order: 5
24812
- x-undo:
24813
- type: idempotent
24814
24423
  get:
24815
24424
  description: Get a service level objective object.
24816
24425
  operationId: GetSLO
@@ -24852,9 +24461,6 @@ paths:
24852
24461
  summary: Get an SLO's details
24853
24462
  tags:
24854
24463
  - Service Level Objectives
24855
- x-menu-order: 4
24856
- x-undo:
24857
- type: safe
24858
24464
  put:
24859
24465
  description: Update the specified service level objective object.
24860
24466
  operationId: UpdateSLO
@@ -24903,9 +24509,6 @@ paths:
24903
24509
  tags:
24904
24510
  - Service Level Objectives
24905
24511
  x-codegen-request-body-name: body
24906
- x-menu-order: 3
24907
- x-undo:
24908
- type: idempotent
24909
24512
  /api/v1/slo/{slo_id}/corrections:
24910
24513
  get:
24911
24514
  description: Get corrections applied to an SLO
@@ -24947,9 +24550,6 @@ paths:
24947
24550
  summary: Get Corrections For an SLO
24948
24551
  tags:
24949
24552
  - Service Level Objectives
24950
- x-menu-order: 6
24951
- x-undo:
24952
- type: safe
24953
24553
  /api/v1/slo/{slo_id}/history:
24954
24554
  get:
24955
24555
  description: "Get a specific SLO\u2019s history, regardless of its SLO type.\n\nThe
@@ -25031,9 +24631,6 @@ paths:
25031
24631
  summary: Get an SLO's history
25032
24632
  tags:
25033
24633
  - Service Level Objectives
25034
- x-menu-order: 6
25035
- x-undo:
25036
- type: safe
25037
24634
  x-unstable: '**Note**: This endpoint is in public beta.
25038
24635
 
25039
24636
  If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
@@ -25071,9 +24668,6 @@ paths:
25071
24668
  summary: Get details of batch
25072
24669
  tags:
25073
24670
  - Synthetics
25074
- x-menu-order: 15
25075
- x-undo:
25076
- type: safe
25077
24671
  /api/v1/synthetics/locations:
25078
24672
  get:
25079
24673
  description: 'Get the list of public and private locations available for Synthetic
@@ -25097,9 +24691,6 @@ paths:
25097
24691
  summary: Get all locations (public and private)
25098
24692
  tags:
25099
24693
  - Synthetics
25100
- x-menu-order: 25
25101
- x-undo:
25102
- type: safe
25103
24694
  /api/v1/synthetics/private-locations:
25104
24695
  post:
25105
24696
  description: Create a new Synthetics private location.
@@ -25141,13 +24732,6 @@ paths:
25141
24732
  tags:
25142
24733
  - Synthetics
25143
24734
  x-codegen-request-body-name: body
25144
- x-menu-order: 22
25145
- x-undo:
25146
- operationId: DeletePrivateLocation
25147
- parameters:
25148
- - name: location_id
25149
- source: private_location.id
25150
- type: unsafe
25151
24735
  /api/v1/synthetics/private-locations/{location_id}:
25152
24736
  delete:
25153
24737
  description: Delete a Synthetics private location.
@@ -25180,9 +24764,6 @@ paths:
25180
24764
  summary: Delete a private location
25181
24765
  tags:
25182
24766
  - Synthetics
25183
- x-menu-order: 26
25184
- x-undo:
25185
- type: idempotent
25186
24767
  get:
25187
24768
  description: Get a Synthetics private location.
25188
24769
  operationId: GetPrivateLocation
@@ -25218,9 +24799,6 @@ paths:
25218
24799
  summary: Get a private location
25219
24800
  tags:
25220
24801
  - Synthetics
25221
- x-menu-order: 23
25222
- x-undo:
25223
- type: safe
25224
24802
  put:
25225
24803
  description: Edit a Synthetics private location.
25226
24804
  operationId: UpdatePrivateLocation
@@ -25264,9 +24842,6 @@ paths:
25264
24842
  tags:
25265
24843
  - Synthetics
25266
24844
  x-codegen-request-body-name: body
25267
- x-menu-order: 24
25268
- x-undo:
25269
- type: idempotent
25270
24845
  /api/v1/synthetics/tests:
25271
24846
  get:
25272
24847
  description: Get the list of all Synthetic tests.
@@ -25300,9 +24875,6 @@ paths:
25300
24875
  summary: Get the list of all tests
25301
24876
  tags:
25302
24877
  - Synthetics
25303
- x-menu-order: 10
25304
- x-undo:
25305
- type: safe
25306
24878
  /api/v1/synthetics/tests/api:
25307
24879
  post:
25308
24880
  description: Create a Synthetic API test.
@@ -25471,24 +25043,6 @@ paths:
25471
25043
  tags:
25472
25044
  - Synthetics
25473
25045
  x-codegen-request-body-name: body
25474
- x-given:
25475
- synthetics_api_test:
25476
- parameters:
25477
- - file: synthetics_api_http_test_payload.json
25478
- name: body
25479
- step: there is a valid "synthetics_api_test" in the system
25480
- synthetics_api_test_with_wrong_dns:
25481
- parameters:
25482
- - file: synthetics_api_test_with_wrong_dns.json
25483
- name: body
25484
- step: there is a "synthetics_api_test_with_wrong_dns" in the system
25485
- x-menu-order: 1
25486
- x-undo:
25487
- operationId: DeleteTests
25488
- parameters:
25489
- - name: body
25490
- template: '{"public_ids": ["{{ public_id }}"]}'
25491
- type: unsafe
25492
25046
  /api/v1/synthetics/tests/api/{public_id}:
25493
25047
  get:
25494
25048
  description: 'Get the detailed configuration associated with
@@ -25533,9 +25087,6 @@ paths:
25533
25087
  summary: Get an API test
25534
25088
  tags:
25535
25089
  - Synthetics
25536
- x-menu-order: 8
25537
- x-undo:
25538
- type: safe
25539
25090
  put:
25540
25091
  description: Edit the configuration of a Synthetic API test.
25541
25092
  operationId: UpdateAPITest
@@ -25595,9 +25146,6 @@ paths:
25595
25146
  tags:
25596
25147
  - Synthetics
25597
25148
  x-codegen-request-body-name: body
25598
- x-menu-order: 3
25599
- x-undo:
25600
- type: idempotent
25601
25149
  /api/v1/synthetics/tests/browser:
25602
25150
  post:
25603
25151
  description: Create a Synthetic browser test.
@@ -25647,13 +25195,6 @@ paths:
25647
25195
  tags:
25648
25196
  - Synthetics
25649
25197
  x-codegen-request-body-name: body
25650
- x-menu-order: 2
25651
- x-undo:
25652
- operationId: DeleteTests
25653
- parameters:
25654
- - name: body
25655
- template: '{"public_ids": ["{{ public_id }}"]}'
25656
- type: unsafe
25657
25198
  /api/v1/synthetics/tests/browser/{public_id}:
25658
25199
  get:
25659
25200
  description: 'Get the detailed configuration (including steps) associated with
@@ -25698,9 +25239,6 @@ paths:
25698
25239
  summary: Get a browser test
25699
25240
  tags:
25700
25241
  - Synthetics
25701
- x-menu-order: 9
25702
- x-undo:
25703
- type: safe
25704
25242
  put:
25705
25243
  description: Edit the configuration of a Synthetic browser test.
25706
25244
  operationId: UpdateBrowserTest
@@ -25760,9 +25298,6 @@ paths:
25760
25298
  tags:
25761
25299
  - Synthetics
25762
25300
  x-codegen-request-body-name: body
25763
- x-menu-order: 4
25764
- x-undo:
25765
- type: idempotent
25766
25301
  /api/v1/synthetics/tests/browser/{public_id}/results:
25767
25302
  get:
25768
25303
  description: Get the last 50 test results summaries for a given Synthetics Browser
@@ -25831,9 +25366,6 @@ paths:
25831
25366
  tags:
25832
25367
  - Synthetics
25833
25368
  x-codegen-request-body-name: body
25834
- x-menu-order: 14
25835
- x-undo:
25836
- type: safe
25837
25369
  /api/v1/synthetics/tests/browser/{public_id}/results/{result_id}:
25838
25370
  get:
25839
25371
  description: Get a specific full result from a given (browser) Synthetic test.
@@ -25884,9 +25416,6 @@ paths:
25884
25416
  summary: Get a browser test result
25885
25417
  tags:
25886
25418
  - Synthetics
25887
- x-menu-order: 12
25888
- x-undo:
25889
- type: safe
25890
25419
  /api/v1/synthetics/tests/delete:
25891
25420
  post:
25892
25421
  description: Delete multiple Synthetic tests by ID.
@@ -25941,9 +25470,6 @@ paths:
25941
25470
  tags:
25942
25471
  - Synthetics
25943
25472
  x-codegen-request-body-name: body
25944
- x-menu-order: 16
25945
- x-undo:
25946
- type: idempotent
25947
25473
  /api/v1/synthetics/tests/trigger:
25948
25474
  post:
25949
25475
  description: Trigger a set of Synthetics tests.
@@ -25979,16 +25505,6 @@ paths:
25979
25505
  tags:
25980
25506
  - Synthetics
25981
25507
  x-codegen-request-body-name: body
25982
- x-given:
25983
- synthetics_api_test_with_wrong_dns_result:
25984
- parameters:
25985
- - name: body
25986
- value: '{"tests": [{"public_id": "{{ synthetics_api_test_with_wrong_dns.public_id
25987
- }}"}]}'
25988
- step: the "synthetics_api_test_with_wrong_dns" is triggered
25989
- x-menu-order: 7
25990
- x-undo:
25991
- type: safe
25992
25508
  /api/v1/synthetics/tests/trigger/ci:
25993
25509
  post:
25994
25510
  description: Trigger a set of Synthetics tests for continuous integration.
@@ -26024,9 +25540,6 @@ paths:
26024
25540
  tags:
26025
25541
  - Synthetics
26026
25542
  x-codegen-request-body-name: body
26027
- x-menu-order: 6
26028
- x-undo:
26029
- type: idempotent
26030
25543
  /api/v1/synthetics/tests/{public_id}:
26031
25544
  get:
26032
25545
  description: Get the detailed configuration associated with a Synthetics test.
@@ -26069,9 +25582,6 @@ paths:
26069
25582
  summary: Get a test configuration
26070
25583
  tags:
26071
25584
  - Synthetics
26072
- x-menu-order: 27
26073
- x-undo:
26074
- type: safe
26075
25585
  /api/v1/synthetics/tests/{public_id}/results:
26076
25586
  get:
26077
25587
  description: Get the last 50 test results summaries for a given Synthetics API
@@ -26138,9 +25648,6 @@ paths:
26138
25648
  tags:
26139
25649
  - Synthetics
26140
25650
  x-codegen-request-body-name: body
26141
- x-menu-order: 13
26142
- x-undo:
26143
- type: safe
26144
25651
  /api/v1/synthetics/tests/{public_id}/results/{result_id}:
26145
25652
  get:
26146
25653
  description: Get a specific full result from a given (API) Synthetic test.
@@ -26189,9 +25696,6 @@ paths:
26189
25696
  summary: Get an API test result
26190
25697
  tags:
26191
25698
  - Synthetics
26192
- x-menu-order: 11
26193
- x-undo:
26194
- type: safe
26195
25699
  /api/v1/synthetics/tests/{public_id}/status:
26196
25700
  put:
26197
25701
  description: Pause or start a Synthetics test by changing the status.
@@ -26248,9 +25752,6 @@ paths:
26248
25752
  tags:
26249
25753
  - Synthetics
26250
25754
  x-codegen-request-body-name: body
26251
- x-menu-order: 5
26252
- x-undo:
26253
- type: idempotent
26254
25755
  /api/v1/synthetics/variables:
26255
25756
  get:
26256
25757
  description: Get the list of all Synthetics global variables.
@@ -26278,9 +25779,6 @@ paths:
26278
25779
  summary: Get all global variables
26279
25780
  tags:
26280
25781
  - Synthetics
26281
- x-menu-order: 17
26282
- x-undo:
26283
- type: safe
26284
25782
  post:
26285
25783
  description: Create a Synthetics global variable.
26286
25784
  operationId: CreateGlobalVariable
@@ -26321,13 +25819,6 @@ paths:
26321
25819
  tags:
26322
25820
  - Synthetics
26323
25821
  x-codegen-request-body-name: body
26324
- x-menu-order: 18
26325
- x-undo:
26326
- operationId: DeleteGlobalVariable
26327
- parameters:
26328
- - name: variable_id
26329
- source: id
26330
- type: unsafe
26331
25822
  /api/v1/synthetics/variables/{variable_id}:
26332
25823
  delete:
26333
25824
  description: Delete a Synthetics global variable.
@@ -26370,9 +25861,6 @@ paths:
26370
25861
  summary: Delete a global variable
26371
25862
  tags:
26372
25863
  - Synthetics
26373
- x-menu-order: 21
26374
- x-undo:
26375
- type: idempotent
26376
25864
  get:
26377
25865
  description: Get the detailed configuration of a global variable.
26378
25866
  operationId: GetGlobalVariable
@@ -26412,9 +25900,6 @@ paths:
26412
25900
  summary: Get a global variable
26413
25901
  tags:
26414
25902
  - Synthetics
26415
- x-menu-order: 19
26416
- x-undo:
26417
- type: safe
26418
25903
  put:
26419
25904
  description: Edit a Synthetics global variable.
26420
25905
  operationId: EditGlobalVariable
@@ -26462,9 +25947,6 @@ paths:
26462
25947
  tags:
26463
25948
  - Synthetics
26464
25949
  x-codegen-request-body-name: body
26465
- x-menu-order: 20
26466
- x-undo:
26467
- type: idempotent
26468
25950
  /api/v1/tags/hosts:
26469
25951
  get:
26470
25952
  description: Return a mapping of tags to hosts for your whole infrastructure.
@@ -26505,9 +25987,6 @@ paths:
26505
25987
  summary: Get Tags
26506
25988
  tags:
26507
25989
  - Tags
26508
- x-menu-order: 1
26509
- x-undo:
26510
- type: safe
26511
25990
  /api/v1/tags/hosts/{host_name}:
26512
25991
  delete:
26513
25992
  description: 'This endpoint allows you to remove all user-assigned tags
@@ -26550,9 +26029,6 @@ paths:
26550
26029
  summary: Remove host tags
26551
26030
  tags:
26552
26031
  - Tags
26553
- x-menu-order: 5
26554
- x-undo:
26555
- type: idempotent
26556
26032
  get:
26557
26033
  description: Return the list of tags that apply to a given host.
26558
26034
  operationId: GetHostTags
@@ -26594,9 +26070,6 @@ paths:
26594
26070
  summary: Get host tags
26595
26071
  tags:
26596
26072
  - Tags
26597
- x-menu-order: 2
26598
- x-undo:
26599
- type: safe
26600
26073
  post:
26601
26074
  description: 'This endpoint allows you to add new tags to a host,
26602
26075
 
@@ -26651,15 +26124,6 @@ paths:
26651
26124
  tags:
26652
26125
  - Tags
26653
26126
  x-codegen-request-body-name: body
26654
- x-menu-order: 3
26655
- x-undo:
26656
- operationId: DeleteHostTags
26657
- parameters:
26658
- - name: host_name
26659
- source: <RESPONSE_PATH>
26660
- - name: source
26661
- source: <RESPONSE_PATH>
26662
- type: unsafe
26663
26127
  put:
26664
26128
  description: 'This endpoint allows you to update/replace all tags in
26665
26129
 
@@ -26713,15 +26177,14 @@ paths:
26713
26177
  tags:
26714
26178
  - Tags
26715
26179
  x-codegen-request-body-name: body
26716
- x-menu-order: 4
26717
- x-undo:
26718
- type: idempotent
26719
26180
  /api/v1/usage/analyzed_logs:
26720
26181
  get:
26721
26182
  description: 'Get hourly usage for analyzed logs (Security Monitoring).
26722
26183
 
26723
26184
  **Note:** hourly usage data for all products is now available in the [Get
26724
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
26185
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
26186
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
26187
+ for the associated migration guide.'
26725
26188
  operationId: GetUsageAnalyzedLogs
26726
26189
  parameters:
26727
26190
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -26775,13 +26238,15 @@ paths:
26775
26238
  summary: Get hourly usage for analyzed logs
26776
26239
  tags:
26777
26240
  - Usage Metering
26778
- x-menu-order: 22
26779
- x-undo:
26780
- type: safe
26781
26241
  /api/v1/usage/attribution:
26782
26242
  get:
26783
26243
  deprecated: true
26784
- description: Get usage attribution.
26244
+ description: 'Get usage attribution.
26245
+
26246
+ **Note:** This endpoint will be fully deprecated on December 1, 2022.
26247
+
26248
+ Refer to [Migrating from v1 to v2 of the Usage Attribution API](https://docs.datadoghq.com/account_management/guide/usage-attribution-migration/)
26249
+ for the associated migration guide.'
26785
26250
  operationId: GetUsageAttribution
26786
26251
  parameters:
26787
26252
  - description: 'Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]`
@@ -26867,18 +26332,14 @@ paths:
26867
26332
  summary: Get usage attribution
26868
26333
  tags:
26869
26334
  - Usage Metering
26870
- x-menu-order: 39
26871
- x-undo:
26872
- type: safe
26873
- x-unstable: '**Note**: This endpoint is in public beta.
26874
-
26875
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
26876
26335
  /api/v1/usage/audit_logs:
26877
26336
  get:
26878
26337
  description: 'Get hourly usage for audit logs.
26879
26338
 
26880
26339
  **Note:** hourly usage data for all products is now available in the [Get
26881
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
26340
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
26341
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
26342
+ for the associated migration guide.'
26882
26343
  operationId: GetUsageAuditLogs
26883
26344
  parameters:
26884
26345
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -26932,15 +26393,14 @@ paths:
26932
26393
  summary: Get hourly usage for audit logs
26933
26394
  tags:
26934
26395
  - Usage Metering
26935
- x-menu-order: 28
26936
- x-undo:
26937
- type: safe
26938
26396
  /api/v1/usage/aws_lambda:
26939
26397
  get:
26940
26398
  description: 'Get hourly usage for lambda.
26941
26399
 
26942
26400
  **Note:** hourly usage data for all products is now available in the [Get
26943
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
26401
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
26402
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
26403
+ for the associated migration guide.'
26944
26404
  operationId: GetUsageLambda
26945
26405
  parameters:
26946
26406
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
@@ -26992,9 +26452,6 @@ paths:
26992
26452
  summary: Get hourly usage for lambda
26993
26453
  tags:
26994
26454
  - Usage Metering
26995
- x-menu-order: 18
26996
- x-undo:
26997
- type: safe
26998
26455
  /api/v1/usage/billable-summary:
26999
26456
  get:
27000
26457
  description: Get billable usage across your account.
@@ -27041,15 +26498,14 @@ paths:
27041
26498
  summary: Get billable usage across your account
27042
26499
  tags:
27043
26500
  - Usage Metering
27044
- x-menu-order: 5
27045
- x-undo:
27046
- type: safe
27047
26501
  /api/v1/usage/ci-app:
27048
26502
  get:
27049
26503
  description: 'Get hourly usage for CI visibility (tests, pipeline, and spans).
27050
26504
 
27051
26505
  **Note:** hourly usage data for all products is now available in the [Get
27052
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
26506
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
26507
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
26508
+ for the associated migration guide.'
27053
26509
  operationId: GetUsageCIApp
27054
26510
  parameters:
27055
26511
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -27103,15 +26559,14 @@ paths:
27103
26559
  summary: Get hourly usage for CI visibility
27104
26560
  tags:
27105
26561
  - Usage Metering
27106
- x-menu-order: 34
27107
- x-undo:
27108
- type: safe
27109
26562
  /api/v1/usage/cspm:
27110
26563
  get:
27111
26564
  description: 'Get hourly usage for cloud security posture management (CSPM).
27112
26565
 
27113
26566
  **Note:** hourly usage data for all products is now available in the [Get
27114
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
26567
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
26568
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
26569
+ for the associated migration guide.'
27115
26570
  operationId: GetUsageCloudSecurityPostureManagement
27116
26571
  parameters:
27117
26572
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -27165,15 +26620,14 @@ paths:
27165
26620
  summary: Get hourly usage for CSPM
27166
26621
  tags:
27167
26622
  - Usage Metering
27168
- x-menu-order: 27
27169
- x-undo:
27170
- type: safe
27171
26623
  /api/v1/usage/cws:
27172
26624
  get:
27173
26625
  description: 'Get hourly usage for cloud workload security.
27174
26626
 
27175
26627
  **Note:** hourly usage data for all products is now available in the [Get
27176
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
26628
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
26629
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
26630
+ for the associated migration guide.'
27177
26631
  operationId: GetUsageCWS
27178
26632
  parameters:
27179
26633
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -27227,15 +26681,14 @@ paths:
27227
26681
  summary: Get hourly usage for cloud workload security
27228
26682
  tags:
27229
26683
  - Usage Metering
27230
- x-menu-order: 29
27231
- x-undo:
27232
- type: safe
27233
26684
  /api/v1/usage/dbm:
27234
26685
  get:
27235
26686
  description: 'Get hourly usage for database monitoring
27236
26687
 
27237
26688
  **Note:** hourly usage data for all products is now available in the [Get
27238
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
26689
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
26690
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
26691
+ for the associated migration guide.'
27239
26692
  operationId: GetUsageDBM
27240
26693
  parameters:
27241
26694
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -27289,15 +26742,14 @@ paths:
27289
26742
  summary: Get hourly usage for database monitoring
27290
26743
  tags:
27291
26744
  - Usage Metering
27292
- x-menu-order: 30
27293
- x-undo:
27294
- type: safe
27295
26745
  /api/v1/usage/fargate:
27296
26746
  get:
27297
26747
  description: 'Get hourly usage for [Fargate](https://docs.datadoghq.com/integrations/ecs_fargate/).
27298
26748
 
27299
26749
  **Note:** hourly usage data for all products is now available in the [Get
27300
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
26750
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
26751
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
26752
+ for the associated migration guide.'
27301
26753
  operationId: GetUsageFargate
27302
26754
  parameters:
27303
26755
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
@@ -27349,15 +26801,14 @@ paths:
27349
26801
  summary: Get hourly usage for Fargate
27350
26802
  tags:
27351
26803
  - Usage Metering
27352
- x-menu-order: 17
27353
- x-undo:
27354
- type: safe
27355
26804
  /api/v1/usage/hosts:
27356
26805
  get:
27357
26806
  description: 'Get hourly usage for hosts and containers.
27358
26807
 
27359
26808
  **Note:** hourly usage data for all products is now available in the [Get
27360
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
26809
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
26810
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
26811
+ for the associated migration guide.'
27361
26812
  operationId: GetUsageHosts
27362
26813
  parameters:
27363
26814
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
@@ -27409,9 +26860,6 @@ paths:
27409
26860
  summary: Get hourly usage for hosts and containers
27410
26861
  tags:
27411
26862
  - Usage Metering
27412
- x-menu-order: 10
27413
- x-undo:
27414
- type: safe
27415
26863
  /api/v1/usage/hourly-attribution:
27416
26864
  get:
27417
26865
  description: "Get hourly usage attribution.\n\nThis API endpoint is paginated.
@@ -27499,15 +26947,14 @@ paths:
27499
26947
  summary: Get hourly usage attribution
27500
26948
  tags:
27501
26949
  - Usage Metering
27502
- x-menu-order: 2
27503
- x-undo:
27504
- type: safe
27505
26950
  /api/v1/usage/incident-management:
27506
26951
  get:
27507
26952
  description: 'Get hourly usage for incident management.
27508
26953
 
27509
26954
  **Note:** hourly usage data for all products is now available in the [Get
27510
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
26955
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
26956
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
26957
+ for the associated migration guide.'
27511
26958
  operationId: GetIncidentManagement
27512
26959
  parameters:
27513
26960
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -27561,15 +27008,14 @@ paths:
27561
27008
  summary: Get hourly usage for incident management
27562
27009
  tags:
27563
27010
  - Usage Metering
27564
- x-menu-order: 25
27565
- x-undo:
27566
- type: safe
27567
27011
  /api/v1/usage/indexed-spans:
27568
27012
  get:
27569
27013
  description: 'Get hourly usage for indexed spans.
27570
27014
 
27571
27015
  **Note:** hourly usage data for all products is now available in the [Get
27572
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
27016
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
27017
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
27018
+ for the associated migration guide.'
27573
27019
  operationId: GetUsageIndexedSpans
27574
27020
  parameters:
27575
27021
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -27621,15 +27067,14 @@ paths:
27621
27067
  summary: Get hourly usage for indexed spans
27622
27068
  tags:
27623
27069
  - Usage Metering
27624
- x-menu-order: 13
27625
- x-undo:
27626
- type: safe
27627
27070
  /api/v1/usage/ingested-spans:
27628
27071
  get:
27629
27072
  description: 'Get hourly usage for ingested spans.
27630
27073
 
27631
27074
  **Note:** hourly usage data for all products is now available in the [Get
27632
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
27075
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
27076
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
27077
+ for the associated migration guide.'
27633
27078
  operationId: GetIngestedSpans
27634
27079
  parameters:
27635
27080
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -27683,15 +27128,14 @@ paths:
27683
27128
  summary: Get hourly usage for ingested spans
27684
27129
  tags:
27685
27130
  - Usage Metering
27686
- x-menu-order: 24
27687
- x-undo:
27688
- type: safe
27689
27131
  /api/v1/usage/iot:
27690
27132
  get:
27691
27133
  description: 'Get hourly usage for IoT.
27692
27134
 
27693
27135
  **Note:** hourly usage data for all products is now available in the [Get
27694
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
27136
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
27137
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
27138
+ for the associated migration guide.'
27695
27139
  operationId: GetUsageInternetOfThings
27696
27140
  parameters:
27697
27141
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -27745,15 +27189,14 @@ paths:
27745
27189
  summary: Get hourly usage for IoT
27746
27190
  tags:
27747
27191
  - Usage Metering
27748
- x-menu-order: 26
27749
- x-undo:
27750
- type: safe
27751
27192
  /api/v1/usage/logs:
27752
27193
  get:
27753
27194
  description: 'Get hourly usage for logs.
27754
27195
 
27755
27196
  **Note:** hourly usage data for all products is now available in the [Get
27756
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
27197
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
27198
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
27199
+ for the associated migration guide.'
27757
27200
  operationId: GetUsageLogs
27758
27201
  parameters:
27759
27202
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
@@ -27805,15 +27248,14 @@ paths:
27805
27248
  summary: Get hourly usage for logs
27806
27249
  tags:
27807
27250
  - Usage Metering
27808
- x-menu-order: 11
27809
- x-undo:
27810
- type: safe
27811
27251
  /api/v1/usage/logs-by-retention:
27812
27252
  get:
27813
27253
  description: 'Get hourly usage for indexed logs by retention period.
27814
27254
 
27815
27255
  **Note:** hourly usage data for all products is now available in the [Get
27816
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
27256
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
27257
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
27258
+ for the associated migration guide.'
27817
27259
  operationId: GetUsageLogsByRetention
27818
27260
  parameters:
27819
27261
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -27867,9 +27309,6 @@ paths:
27867
27309
  summary: Get hourly logs usage by retention
27868
27310
  tags:
27869
27311
  - Usage Metering
27870
- x-menu-order: 9
27871
- x-undo:
27872
- type: safe
27873
27312
  /api/v1/usage/logs_by_index:
27874
27313
  get:
27875
27314
  description: Get hourly usage for logs by index.
@@ -27932,9 +27371,6 @@ paths:
27932
27371
  summary: Get hourly usage for logs by index
27933
27372
  tags:
27934
27373
  - Usage Metering
27935
- x-menu-order: 8
27936
- x-undo:
27937
- type: safe
27938
27374
  /api/v1/usage/monthly-attribution:
27939
27375
  get:
27940
27376
  description: "Get monthly usage attribution.\n\nThis API endpoint is paginated.
@@ -28035,23 +27471,14 @@ paths:
28035
27471
  summary: Get monthly usage attribution
28036
27472
  tags:
28037
27473
  - Usage Metering
28038
- x-given:
28039
- monthly_usage_attribution:
28040
- parameters:
28041
- - name: start_month
28042
- value: '"{{ timeISO(''now - 3d'') }}"'
28043
- - name: fields
28044
- value: '"infra_host_usage"'
28045
- step: there is a valid "monthly_usage_attribution" response
28046
- x-menu-order: 3
28047
- x-undo:
28048
- type: safe
28049
27474
  /api/v1/usage/network_flows:
28050
27475
  get:
28051
27476
  description: 'Get hourly usage for network flows.
28052
27477
 
28053
27478
  **Note:** hourly usage data for all products is now available in the [Get
28054
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
27479
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
27480
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
27481
+ for the associated migration guide.'
28055
27482
  operationId: GetUsageNetworkFlows
28056
27483
  parameters:
28057
27484
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -28105,15 +27532,14 @@ paths:
28105
27532
  summary: get hourly usage for network flows
28106
27533
  tags:
28107
27534
  - Usage Metering
28108
- x-menu-order: 21
28109
- x-undo:
28110
- type: safe
28111
27535
  /api/v1/usage/network_hosts:
28112
27536
  get:
28113
27537
  description: 'Get hourly usage for network hosts.
28114
27538
 
28115
27539
  **Note:** hourly usage data for all products is now available in the [Get
28116
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
27540
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
27541
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
27542
+ for the associated migration guide.'
28117
27543
  operationId: GetUsageNetworkHosts
28118
27544
  parameters:
28119
27545
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
@@ -28165,15 +27591,14 @@ paths:
28165
27591
  summary: Get hourly usage for network hosts
28166
27592
  tags:
28167
27593
  - Usage Metering
28168
- x-menu-order: 20
28169
- x-undo:
28170
- type: safe
28171
27594
  /api/v1/usage/online-archive:
28172
27595
  get:
28173
27596
  description: 'Get hourly usage for online archive.
28174
27597
 
28175
27598
  **Note:** hourly usage data for all products is now available in the [Get
28176
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
27599
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
27600
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
27601
+ for the associated migration guide.'
28177
27602
  operationId: GetUsageOnlineArchive
28178
27603
  parameters:
28179
27604
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -28227,15 +27652,14 @@ paths:
28227
27652
  summary: Get hourly usage for online archive
28228
27653
  tags:
28229
27654
  - Usage Metering
28230
- x-menu-order: 35
28231
- x-undo:
28232
- type: safe
28233
27655
  /api/v1/usage/profiling:
28234
27656
  get:
28235
27657
  description: 'Get hourly usage for profiled hosts.
28236
27658
 
28237
27659
  **Note:** hourly usage data for all products is now available in the [Get
28238
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
27660
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
27661
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
27662
+ for the associated migration guide.'
28239
27663
  operationId: GetUsageProfiling
28240
27664
  parameters:
28241
27665
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -28289,16 +27713,15 @@ paths:
28289
27713
  summary: Get hourly usage for profiled hosts
28290
27714
  tags:
28291
27715
  - Usage Metering
28292
- x-menu-order: 33
28293
- x-undo:
28294
- type: safe
28295
27716
  /api/v1/usage/rum:
28296
27717
  get:
28297
27718
  description: 'Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/)
28298
27719
  Units.
28299
27720
 
28300
27721
  **Note:** hourly usage data for all products is now available in the [Get
28301
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
27722
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
27723
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
27724
+ for the associated migration guide.'
28302
27725
  operationId: GetUsageRumUnits
28303
27726
  parameters:
28304
27727
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
@@ -28350,16 +27773,15 @@ paths:
28350
27773
  summary: Get hourly usage for RUM units
28351
27774
  tags:
28352
27775
  - Usage Metering
28353
- x-menu-order: 32
28354
- x-undo:
28355
- type: safe
28356
27776
  /api/v1/usage/rum_sessions:
28357
27777
  get:
28358
27778
  description: 'Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/)
28359
27779
  Sessions.
28360
27780
 
28361
27781
  **Note:** hourly usage data for all products is now available in the [Get
28362
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
27782
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
27783
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
27784
+ for the associated migration guide.'
28363
27785
  operationId: GetUsageRumSessions
28364
27786
  parameters:
28365
27787
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
@@ -28417,15 +27839,14 @@ paths:
28417
27839
  summary: Get hourly usage for RUM sessions
28418
27840
  tags:
28419
27841
  - Usage Metering
28420
- x-menu-order: 19
28421
- x-undo:
28422
- type: safe
28423
27842
  /api/v1/usage/sds:
28424
27843
  get:
28425
27844
  description: 'Get hourly usage for sensitive data scanner.
28426
27845
 
28427
27846
  **Note:** hourly usage data for all products is now available in the [Get
28428
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
27847
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
27848
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
27849
+ for the associated migration guide.'
28429
27850
  operationId: GetUsageSDS
28430
27851
  parameters:
28431
27852
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -28479,15 +27900,14 @@ paths:
28479
27900
  summary: Get hourly usage for sensitive data scanner
28480
27901
  tags:
28481
27902
  - Usage Metering
28482
- x-menu-order: 31
28483
- x-undo:
28484
- type: safe
28485
27903
  /api/v1/usage/snmp:
28486
27904
  get:
28487
27905
  description: 'Get hourly usage for SNMP devices.
28488
27906
 
28489
27907
  **Note:** hourly usage data for all products is now available in the [Get
28490
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
27908
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
27909
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
27910
+ for the associated migration guide.'
28491
27911
  operationId: GetUsageSNMP
28492
27912
  parameters:
28493
27913
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -28541,9 +27961,6 @@ paths:
28541
27961
  summary: Get hourly usage for SNMP devices
28542
27962
  tags:
28543
27963
  - Usage Metering
28544
- x-menu-order: 23
28545
- x-undo:
28546
- type: safe
28547
27964
  /api/v1/usage/summary:
28548
27965
  get:
28549
27966
  description: Get usage across your multi-org account. You must have the multi-org
@@ -28607,16 +28024,15 @@ paths:
28607
28024
  summary: Get usage across your multi-org account
28608
28025
  tags:
28609
28026
  - Usage Metering
28610
- x-menu-order: 7
28611
- x-undo:
28612
- type: safe
28613
28027
  /api/v1/usage/synthetics:
28614
28028
  get:
28615
28029
  deprecated: true
28616
28030
  description: 'Get hourly usage for [synthetics checks](https://docs.datadoghq.com/synthetics/).
28617
28031
 
28618
28032
  **Note:** hourly usage data for all products is now available in the [Get
28619
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
28033
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
28034
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
28035
+ for the associated migration guide.'
28620
28036
  operationId: GetUsageSynthetics
28621
28037
  parameters:
28622
28038
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
@@ -28668,15 +28084,14 @@ paths:
28668
28084
  summary: Get hourly usage for synthetics checks
28669
28085
  tags:
28670
28086
  - Usage Metering
28671
- x-menu-order: 14
28672
- x-undo:
28673
- type: safe
28674
28087
  /api/v1/usage/synthetics_api:
28675
28088
  get:
28676
28089
  description: 'Get hourly usage for [synthetics API checks](https://docs.datadoghq.com/synthetics/).
28677
28090
 
28678
28091
  **Note:** hourly usage data for all products is now available in the [Get
28679
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
28092
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
28093
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
28094
+ for the associated migration guide.'
28680
28095
  operationId: GetUsageSyntheticsAPI
28681
28096
  parameters:
28682
28097
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
@@ -28728,15 +28143,14 @@ paths:
28728
28143
  summary: Get hourly usage for synthetics API checks
28729
28144
  tags:
28730
28145
  - Usage Metering
28731
- x-menu-order: 15
28732
- x-undo:
28733
- type: safe
28734
28146
  /api/v1/usage/synthetics_browser:
28735
28147
  get:
28736
28148
  description: 'Get hourly usage for synthetics browser checks.
28737
28149
 
28738
28150
  **Note:** hourly usage data for all products is now available in the [Get
28739
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
28151
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
28152
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
28153
+ for the associated migration guide.'
28740
28154
  operationId: GetUsageSyntheticsBrowser
28741
28155
  parameters:
28742
28156
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
@@ -28788,15 +28202,14 @@ paths:
28788
28202
  summary: Get hourly usage for synthetics browser checks
28789
28203
  tags:
28790
28204
  - Usage Metering
28791
- x-menu-order: 16
28792
- x-undo:
28793
- type: safe
28794
28205
  /api/v1/usage/timeseries:
28795
28206
  get:
28796
28207
  description: 'Get hourly usage for [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/).
28797
28208
 
28798
28209
  **Note:** hourly usage data for all products is now available in the [Get
28799
- hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
28210
+ hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).
28211
+ Refer to [Migrating from the V1 Hourly Usage APIs to V2](https://docs.datadoghq.com/account_management/guide/hourly-usage-migration/)
28212
+ for the associated migration guide.'
28800
28213
  operationId: GetUsageTimeseries
28801
28214
  parameters:
28802
28215
  - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
@@ -28848,9 +28261,6 @@ paths:
28848
28261
  summary: Get hourly usage for custom metrics
28849
28262
  tags:
28850
28263
  - Usage Metering
28851
- x-menu-order: 12
28852
- x-undo:
28853
- type: safe
28854
28264
  /api/v1/usage/top_avg_metrics:
28855
28265
  get:
28856
28266
  description: Get all [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/)
@@ -28934,9 +28344,6 @@ paths:
28934
28344
  summary: Get all custom metrics by hourly average
28935
28345
  tags:
28936
28346
  - Usage Metering
28937
- x-menu-order: 6
28938
- x-undo:
28939
- type: safe
28940
28347
  /api/v1/user:
28941
28348
  get:
28942
28349
  description: List all users for your organization.
@@ -28963,9 +28370,6 @@ paths:
28963
28370
  summary: List all users
28964
28371
  tags:
28965
28372
  - Users
28966
- x-menu-order: 2
28967
- x-undo:
28968
- type: safe
28969
28373
  post:
28970
28374
  description: 'Create a user for your organization.
28971
28375
 
@@ -29017,13 +28421,6 @@ paths:
29017
28421
  tags:
29018
28422
  - Users
29019
28423
  x-codegen-request-body-name: body
29020
- x-menu-order: 1
29021
- x-undo:
29022
- operationId: DisableUser
29023
- parameters:
29024
- - name: user_handle
29025
- source: user.handle
29026
- type: unsafe
29027
28424
  /api/v1/user/{user_handle}:
29028
28425
  delete:
29029
28426
  description: 'Delete a user from an organization.
@@ -29072,9 +28469,6 @@ paths:
29072
28469
  summary: Disable a user
29073
28470
  tags:
29074
28471
  - Users
29075
- x-menu-order: 5
29076
- x-undo:
29077
- type: idempotent
29078
28472
  get:
29079
28473
  description: Get a user's details.
29080
28474
  operationId: GetUser
@@ -29111,9 +28505,6 @@ paths:
29111
28505
  summary: Get user details
29112
28506
  tags:
29113
28507
  - Users
29114
- x-menu-order: 3
29115
- x-undo:
29116
- type: safe
29117
28508
  put:
29118
28509
  description: 'Update a user information.
29119
28510
 
@@ -29167,9 +28558,6 @@ paths:
29167
28558
  tags:
29168
28559
  - Users
29169
28560
  x-codegen-request-body-name: body
29170
- x-menu-order: 4
29171
- x-undo:
29172
- type: idempotent
29173
28561
  /api/v1/validate:
29174
28562
  get:
29175
28563
  description: Check if the API key (not the APP key) is valid. If invalid, a
@@ -29196,9 +28584,6 @@ paths:
29196
28584
  summary: Validate API key
29197
28585
  tags:
29198
28586
  - Authentication
29199
- x-menu-order: 1
29200
- x-undo:
29201
- type: safe
29202
28587
  /v1/input:
29203
28588
  post:
29204
28589
  deprecated: true
@@ -29366,9 +28751,6 @@ paths:
29366
28751
  tags:
29367
28752
  - Logs
29368
28753
  x-codegen-request-body-name: body
29369
- x-menu-order: 1
29370
- x-undo:
29371
- type: safe
29372
28754
  security:
29373
28755
  - apiKeyAuth: []
29374
28756
  appKeyAuth: []