Skip to content

Commit e7ff266

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e8c5ccf0 of spec repo
1 parent 8e5c76d commit e7ff266

File tree

8 files changed

+2317
-8
lines changed

8 files changed

+2317
-8
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-07-18 13:58:40.387174",
8-
"spec_repo_commit": "dc49df4e"
7+
"regenerated": "2025-07-18 16:55:57.876587",
8+
"spec_repo_commit": "e8c5ccf0"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-07-18 13:58:49.708003",
13-
"spec_repo_commit": "dc49df4e"
12+
"regenerated": "2025-07-18 16:56:07.604176",
13+
"spec_repo_commit": "e8c5ccf0"
1414
}
1515
}
1616
}

config/_default/menus/api.en.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6248,6 +6248,19 @@ menu:
62486248
url: /api/latest/cloud-network-monitoring/
62496249
identifier: cloud-network-monitoring
62506250
generated: true
6251+
- name: Get all aggregated DNS traffic
6252+
url: '#get-all-aggregated-dns-traffic'
6253+
identifier: cloud-network-monitoring-get-all-aggregated-dns-traffic
6254+
parent: cloud-network-monitoring
6255+
generated: true
6256+
params:
6257+
versions:
6258+
- v2
6259+
operationids:
6260+
- GetAggregatedDns
6261+
unstable:
6262+
- v2
6263+
order: 2
62516264
- name: Get all aggregated connections
62526265
url: '#get-all-aggregated-connections'
62536266
identifier: cloud-network-monitoring-get-all-aggregated-connections

content/en/api/v2/cloud-network-monitoring/examples.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,57 @@
5050
"json": {},
5151
"html": ""
5252
}
53+
},
54+
"GetAggregatedDns": {
55+
"responses": {
56+
"200": {
57+
"json": {
58+
"data": [
59+
{
60+
"attributes": {
61+
"group_bys": [
62+
{
63+
"key": "network.dns_query",
64+
"value": {
65+
"<any-key>": []
66+
}
67+
}
68+
],
69+
"metrics": [
70+
{
71+
"key": "dns_failure_latency_percentile",
72+
"value": 75
73+
}
74+
]
75+
},
76+
"id": "client_service:example-service,network.dns_query:example.com",
77+
"type": "aggregated_dns"
78+
}
79+
]
80+
},
81+
"html": "<div class=\"\"><div class=\"row hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> data</p>\n </div>\n <div class=\"col-2 column\"><p>[object]</p></div>\n <div class=\"col-6 column\"><p>Array of aggregated DNS objects.</p></div>\n </div>\n <div class=\"row isNested d-none hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> attributes</p>\n </div>\n <div class=\"col-2 column\"><p>object</p></div>\n <div class=\"col-6 column\"><p>Attributes for an aggregated DNS flow.</p></div>\n </div>\n <div class=\"row isNested d-none hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> group_bys</p>\n </div>\n <div class=\"col-2 column\"><p>[object]</p></div>\n <div class=\"col-6 column\"><p>The key, value pairs for each group by.</p></div>\n </div>\n <div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">key</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>The group by key.</p></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> value</p>\n </div>\n <div class=\"col-2 column\"><p></p></div>\n <div class=\"col-6 column\"><p>The group by value.</p></div>\n </div>\n <div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">&lt;any-key&gt;</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n \n </div>\n </div>\n </div>\n </div>\n </div>\n </div><div class=\"row isNested d-none hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> metrics</p>\n </div>\n <div class=\"col-2 column\"><p>[object]</p></div>\n <div class=\"col-6 column\"><p>Metrics associated with an aggregated DNS flow.</p></div>\n </div>\n <div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">key</p>\n </div>\n <div class=\"col-2 column\"><p>enum</p></div>\n <div class=\"col-6 column\"><p>The metric key for DNS metrics. \nAllowed enum values: <code>dns_total_requests,dns_failures,dns_successful_responses,dns_failed_responses,dns_timeouts,dns_responses.nxdomain,dns_responses.servfail,dns_responses.other,dns_success_latency_percentile,dns_failure_latency_percentile</code></p></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">value</p>\n </div>\n <div class=\"col-2 column\"><p>int64</p></div>\n <div class=\"col-6 column\"><p>The metric value.</p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div>\n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">id</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>A unique identifier for the aggregated DNS traffic based on the group by values.</p></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">type</p>\n </div>\n <div class=\"col-2 column\"><p>enum</p></div>\n <div class=\"col-6 column\"><p>Aggregated DNS resource type. \nAllowed enum values: <code>aggregated_dns</code></p><p>default: <code>aggregated_dns</code></p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div></div>"
82+
},
83+
"400": {
84+
"json": {
85+
"errors": [
86+
"Bad Request"
87+
]
88+
},
89+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">errors&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of errors.</p></div>\n </div>\n \n </div>\n </div></div>"
90+
},
91+
"429": {
92+
"json": {
93+
"errors": [
94+
"Bad Request"
95+
]
96+
},
97+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">errors&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of errors.</p></div>\n </div>\n \n </div>\n </div></div>"
98+
}
99+
},
100+
"request": {
101+
"json_curl": {},
102+
"json": {},
103+
"html": ""
104+
}
53105
}
54106
}

data/api/v2/full_spec.yaml

Lines changed: 229 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12690,6 +12690,42 @@ components:
1269012690
description: The type of the resource. The value should always be device.
1269112691
type: string
1269212692
type: object
12693+
DnsMetricKey:
12694+
description: The metric key for DNS metrics.
12695+
enum:
12696+
- dns_total_requests
12697+
- dns_failures
12698+
- dns_successful_responses
12699+
- dns_failed_responses
12700+
- dns_timeouts
12701+
- dns_responses.nxdomain
12702+
- dns_responses.servfail
12703+
- dns_responses.other
12704+
- dns_success_latency_percentile
12705+
- dns_failure_latency_percentile
12706+
type: string
12707+
x-enum-descriptions:
12708+
- The total number of DNS requests made by the client.
12709+
- The total number of timeouts and errors in DNS requests.
12710+
- The total number of successful DNS responses.
12711+
- The total number of failed DNS responses.
12712+
- The total number of DNS timeouts.
12713+
- The total number of DNS responses with the NXDOMAIN error code.
12714+
- The total number of DNS responses with the SERVFAIL error code.
12715+
- The total number of DNS responses with other error codes.
12716+
- The latency percentile for successful DNS responses.
12717+
- The latency percentile for failed DNS responses.
12718+
x-enum-varnames:
12719+
- DNS_TOTAL_REQUESTS
12720+
- DNS_FAILURES
12721+
- DNS_SUCCESSFUL_RESPONSES
12722+
- DNS_FAILED_RESPONSES
12723+
- DNS_TIMEOUTS
12724+
- DNS_RESPONSES_NXDOMAIN
12725+
- DNS_RESPONSES_SERVFAIL
12726+
- DNS_RESPONSES_OTHER
12727+
- DNS_SUCCESS_LATENCY_PERCENTILE
12728+
- DNS_FAILURE_LATENCY_PERCENTILE
1269312729
DomainAllowlist:
1269412730
description: The email domain allowlist for an org.
1269512731
properties:
@@ -38960,6 +38996,131 @@ components:
3896038996
type: string
3896138997
x-enum-varnames:
3896238998
- AGGREGATED_CONNECTION
38999+
SingleAggregatedDnsResponseArray:
39000+
description: List of aggregated DNS flows.
39001+
example:
39002+
data:
39003+
- attributes:
39004+
group_bys:
39005+
- key: client_team
39006+
value: networks
39007+
- key: server_service
39008+
value: hucklebuck
39009+
metrics:
39010+
- key: dns_total_requests
39011+
value: 100
39012+
- key: dns_failures
39013+
value: 6
39014+
- key: dns_successful_responses
39015+
value: 95
39016+
- key: dns_failed_responses
39017+
value: 4
39018+
- key: dns_timeouts
39019+
value: 2
39020+
- key: dns_responses.nxdomain
39021+
value: 1
39022+
- key: dns_responses.servfail
39023+
value: 1
39024+
- key: dns_responses.other
39025+
value: 3
39026+
- key: dns_success_latency_percentile
39027+
value: 50
39028+
- key: dns_failure_latency_percentile
39029+
value: 75
39030+
id: client_team:networks, server_service:hucklebuck
39031+
type: aggregated_dns
39032+
properties:
39033+
data:
39034+
description: Array of aggregated DNS objects.
39035+
items:
39036+
$ref: '#/components/schemas/SingleAggregatedDnsResponseData'
39037+
type: array
39038+
type: object
39039+
SingleAggregatedDnsResponseData:
39040+
description: Object describing an aggregated DNS flow.
39041+
properties:
39042+
attributes:
39043+
$ref: '#/components/schemas/SingleAggregatedDnsResponseDataAttributes'
39044+
id:
39045+
description: A unique identifier for the aggregated DNS traffic based on
39046+
the group by values.
39047+
example: client_service:example-service,network.dns_query:example.com
39048+
type: string
39049+
type:
39050+
$ref: '#/components/schemas/SingleAggregatedDnsResponseDataType'
39051+
example: aggregated_dns
39052+
type: object
39053+
SingleAggregatedDnsResponseDataAttributes:
39054+
description: Attributes for an aggregated DNS flow.
39055+
properties:
39056+
group_bys:
39057+
description: The key, value pairs for each group by.
39058+
example:
39059+
- key: client_service
39060+
value: example-service
39061+
- key: network.dns_query
39062+
value: example.com
39063+
items:
39064+
$ref: '#/components/schemas/SingleAggregatedDnsResponseDataAttributesGroupByItems'
39065+
type: array
39066+
metrics:
39067+
description: Metrics associated with an aggregated DNS flow.
39068+
example:
39069+
- key: dns_total_requests
39070+
value: 100
39071+
- key: dns_failures
39072+
value: 7
39073+
- key: dns_successful_responses
39074+
value: 93
39075+
- key: dns_failed_responses
39076+
value: 5
39077+
- key: dns_timeouts
39078+
value: 2
39079+
- key: dns_responses.nxdomain
39080+
value: 1
39081+
- key: dns_responses.servfail
39082+
value: 1
39083+
- key: dns_responses.other
39084+
value: 3
39085+
- key: dns_success_latency_percentile
39086+
value: 50
39087+
- key: dns_failure_latency_percentile
39088+
value: 75
39089+
items:
39090+
$ref: '#/components/schemas/SingleAggregatedDnsResponseDataAttributesMetricsItems'
39091+
type: array
39092+
type: object
39093+
SingleAggregatedDnsResponseDataAttributesGroupByItems:
39094+
description: Attributes associated with a group by
39095+
properties:
39096+
key:
39097+
description: The group by key.
39098+
type: string
39099+
value:
39100+
additionalProperties:
39101+
items:
39102+
type: string
39103+
type: array
39104+
description: The group by value.
39105+
type: object
39106+
SingleAggregatedDnsResponseDataAttributesMetricsItems:
39107+
description: Metrics associated with an aggregated DNS flow.
39108+
properties:
39109+
key:
39110+
$ref: '#/components/schemas/DnsMetricKey'
39111+
value:
39112+
description: The metric value.
39113+
format: int64
39114+
type: integer
39115+
type: object
39116+
SingleAggregatedDnsResponseDataType:
39117+
default: aggregated_dns
39118+
description: Aggregated DNS resource type.
39119+
enum:
39120+
- aggregated_dns
39121+
type: string
39122+
x-enum-varnames:
39123+
- AGGREGATED_DNS
3896339124
SlackIntegrationMetadata:
3896439125
description: Incident integration metadata for the Slack integration.
3896539126
properties:
@@ -57463,6 +57624,72 @@ paths:
5746357624
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
5746457625

5746557626
contact [Datadog support](https://docs.datadoghq.com/help/).'
57627+
/api/v2/network/dns/aggregate:
57628+
get:
57629+
description: Get all aggregated DNS traffic.
57630+
operationId: GetAggregatedDns
57631+
parameters:
57632+
- description: Unix timestamp (number of seconds since epoch) of the start of
57633+
the query window. If not provided, the start of the query window is 15 minutes
57634+
before the `to` timestamp. If neither `from` nor `to` are provided, the
57635+
query window is `[now - 15m, now]`.
57636+
in: query
57637+
name: from
57638+
schema:
57639+
format: int64
57640+
type: integer
57641+
- description: Unix timestamp (number of seconds since epoch) of the end of
57642+
the query window. If not provided, the end of the query window is the current
57643+
time. If neither `from` nor `to` are provided, the query window is `[now
57644+
- 15m, now]`.
57645+
in: query
57646+
name: to
57647+
schema:
57648+
format: int64
57649+
type: integer
57650+
- description: Comma-separated list of fields to group DNS traffic by. The server
57651+
side defaults to `network.dns_query` if unspecified. `server_ungrouped`
57652+
may be used if groups are not desired. The maximum number of group_by(s)
57653+
is 10.
57654+
in: query
57655+
name: group_by
57656+
schema:
57657+
type: string
57658+
- description: Comma-separated list of tags to filter DNS traffic by.
57659+
in: query
57660+
name: tags
57661+
schema:
57662+
type: string
57663+
- description: The number of aggregated DNS entries to be returned. The maximum
57664+
value is 7500.
57665+
in: query
57666+
name: limit
57667+
schema:
57668+
default: 100
57669+
format: int32
57670+
maximum: 7500
57671+
minimum: 1
57672+
type: integer
57673+
responses:
57674+
'200':
57675+
content:
57676+
application/json:
57677+
schema:
57678+
$ref: '#/components/schemas/SingleAggregatedDnsResponseArray'
57679+
description: OK
57680+
'400':
57681+
$ref: '#/components/responses/BadRequestResponse'
57682+
'429':
57683+
$ref: '#/components/responses/TooManyRequestsResponse'
57684+
summary: Get all aggregated DNS traffic
57685+
tags:
57686+
- Cloud Network Monitoring
57687+
x-menu-order: 2
57688+
x-undo:
57689+
type: safe
57690+
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
57691+
57692+
contact [Datadog support](https://docs.datadoghq.com/help/).'
5746657693
/api/v2/on-call/escalation-policies:
5746757694
post:
5746857695
description: Create a new On-Call escalation policy
@@ -70188,7 +70415,8 @@ tags:
7018870415
documentation](https://docs.datadoghq.com/cloud_cost_management/).
7018970416
name: Cloud Cost Management
7019070417
- description: The Cloud Network Monitoring API allows you to fetch aggregated connections
70191-
and their attributes. See the [Cloud Network Monitoring page](https://docs.datadoghq.com/network_monitoring/cloud_network_monitoring/)
70418+
and DNS traffic with their attributes. See the [Cloud Network Monitoring page](https://docs.datadoghq.com/network_monitoring/cloud_network_monitoring/)
70419+
and [DNS Monitoring page](https://docs.datadoghq.com/network_monitoring/dns/)
7019270420
for more information.
7019370421
name: Cloud Network Monitoring
7019470422
- description: Manage your Datadog Cloudflare integration directly through the Datadog

0 commit comments

Comments
 (0)