Skip to content

Commit 03cf461

Browse files
feat(api): api update
1 parent 10074be commit 03cf461

File tree

288 files changed

+6280
-5747
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

288 files changed

+6280
-5747
lines changed

.stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1711
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a12a32248eefc774d6ede65df86cb98b9e19a64afe472fbb54df5dc7f912414e.yml
3-
openapi_spec_hash: 81f4f26eddb5689783d493d25f5a99bf
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-d4046868cfa1d555ee647ae4c5c2e95735ef2499a9cd9570241c6d93d4228501.yml
3+
openapi_spec_hash: 1330ede6eee9c2b965a1dd54d526ac9b
44
config_hash: 67f412c990647f3cb598378fa22a9db5

src/cloudflare/resources/radar/ai/bots/summary.py

+30-30
Original file line numberDiff line numberDiff line change
@@ -72,32 +72,32 @@ def user_agent(
7272
Retrieves the distribution of traffic by AI user agent.
7373
7474
Args:
75-
asn: Comma-separated list of Autonomous System Numbers (ASNs). Prefix with `-` to
76-
exclude ASNs from results. For example, `-174, 3356` excludes results from
77-
AS174, but includes results from AS3356.
75+
asn: Filters results by Autonomous System. Specify one or more Autonomous System
76+
Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from
77+
results. For example, `-174, 3356` excludes results from AS174, but includes
78+
results from AS3356.
7879
79-
continent: Comma-separated list of continents (alpha-2 continent codes). Prefix with `-` to
80-
exclude continents from results. For example, `-EU,NA` excludes results from EU,
81-
but includes results from NA.
80+
continent: Filters results by continent. Specify a comma-separated list of alpha-2 codes.
81+
Prefix with `-` to exclude continents from results. For example, `-EU,NA`
82+
excludes results from EU, but includes results from NA.
8283
8384
date_end: End of the date range (inclusive).
8485
85-
date_range: Filters results by the specified date range. For example, use `7d` and
86-
`7dcontrol` to compare this week with the previous week. Use this parameter or
87-
set specific start and end dates (`dateStart` and `dateEnd` parameters).
86+
date_range: Filters results by date range. For example, use `7d` and `7dcontrol` to compare
87+
this week with the previous week. Use this parameter or set specific start and
88+
end dates (`dateStart` and `dateEnd` parameters).
8889
8990
date_start: Start of the date range.
9091
9192
format: Format in which results will be returned.
9293
9394
limit_per_group: Limits the number of objects per group to the top items within the specified
94-
time range. If there are more items than the limit, the response will include
95-
the count of items, with any remaining items grouped together under an "other"
96-
category.
95+
time range. When item count exceeds the limit, extra items appear grouped under
96+
an "other" category.
9797
98-
location: Comma-separated list of locations (alpha-2 codes). Prefix with `-` to exclude
99-
locations from results. For example, `-US,PT` excludes results from the US, but
100-
includes results from PT.
98+
location: Filters results by location. Specify a comma-separated list of alpha-2 codes.
99+
Prefix with `-` to exclude locations from results. For example, `-US,PT`
100+
excludes results from the US, but includes results from PT.
101101
102102
name: Array of names used to label the series in the response.
103103
@@ -179,32 +179,32 @@ async def user_agent(
179179
Retrieves the distribution of traffic by AI user agent.
180180
181181
Args:
182-
asn: Comma-separated list of Autonomous System Numbers (ASNs). Prefix with `-` to
183-
exclude ASNs from results. For example, `-174, 3356` excludes results from
184-
AS174, but includes results from AS3356.
182+
asn: Filters results by Autonomous System. Specify one or more Autonomous System
183+
Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from
184+
results. For example, `-174, 3356` excludes results from AS174, but includes
185+
results from AS3356.
185186
186-
continent: Comma-separated list of continents (alpha-2 continent codes). Prefix with `-` to
187-
exclude continents from results. For example, `-EU,NA` excludes results from EU,
188-
but includes results from NA.
187+
continent: Filters results by continent. Specify a comma-separated list of alpha-2 codes.
188+
Prefix with `-` to exclude continents from results. For example, `-EU,NA`
189+
excludes results from EU, but includes results from NA.
189190
190191
date_end: End of the date range (inclusive).
191192
192-
date_range: Filters results by the specified date range. For example, use `7d` and
193-
`7dcontrol` to compare this week with the previous week. Use this parameter or
194-
set specific start and end dates (`dateStart` and `dateEnd` parameters).
193+
date_range: Filters results by date range. For example, use `7d` and `7dcontrol` to compare
194+
this week with the previous week. Use this parameter or set specific start and
195+
end dates (`dateStart` and `dateEnd` parameters).
195196
196197
date_start: Start of the date range.
197198
198199
format: Format in which results will be returned.
199200
200201
limit_per_group: Limits the number of objects per group to the top items within the specified
201-
time range. If there are more items than the limit, the response will include
202-
the count of items, with any remaining items grouped together under an "other"
203-
category.
202+
time range. When item count exceeds the limit, extra items appear grouped under
203+
an "other" category.
204204
205-
location: Comma-separated list of locations (alpha-2 codes). Prefix with `-` to exclude
206-
locations from results. For example, `-US,PT` excludes results from the US, but
207-
includes results from PT.
205+
location: Filters results by location. Specify a comma-separated list of alpha-2 codes.
206+
Prefix with `-` to exclude locations from results. For example, `-US,PT`
207+
excludes results from the US, but includes results from PT.
208208
209209
name: Array of names used to label the series in the response.
210210

src/cloudflare/resources/radar/ai/inference/summary.py

+20-24
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,17 @@ def model(
7272
Args:
7373
date_end: End of the date range (inclusive).
7474
75-
date_range: Filters results by the specified date range. For example, use `7d` and
76-
`7dcontrol` to compare this week with the previous week. Use this parameter or
77-
set specific start and end dates (`dateStart` and `dateEnd` parameters).
75+
date_range: Filters results by date range. For example, use `7d` and `7dcontrol` to compare
76+
this week with the previous week. Use this parameter or set specific start and
77+
end dates (`dateStart` and `dateEnd` parameters).
7878
7979
date_start: Start of the date range.
8080
8181
format: Format in which results will be returned.
8282
8383
limit_per_group: Limits the number of objects per group to the top items within the specified
84-
time range. If there are more items than the limit, the response will include
85-
the count of items, with any remaining items grouped together under an "other"
86-
category.
84+
time range. When item count exceeds the limit, extra items appear grouped under
85+
an "other" category.
8786
8887
name: Array of names used to label the series in the response.
8988
@@ -140,18 +139,17 @@ def task(
140139
Args:
141140
date_end: End of the date range (inclusive).
142141
143-
date_range: Filters results by the specified date range. For example, use `7d` and
144-
`7dcontrol` to compare this week with the previous week. Use this parameter or
145-
set specific start and end dates (`dateStart` and `dateEnd` parameters).
142+
date_range: Filters results by date range. For example, use `7d` and `7dcontrol` to compare
143+
this week with the previous week. Use this parameter or set specific start and
144+
end dates (`dateStart` and `dateEnd` parameters).
146145
147146
date_start: Start of the date range.
148147
149148
format: Format in which results will be returned.
150149
151150
limit_per_group: Limits the number of objects per group to the top items within the specified
152-
time range. If there are more items than the limit, the response will include
153-
the count of items, with any remaining items grouped together under an "other"
154-
category.
151+
time range. When item count exceeds the limit, extra items appear grouped under
152+
an "other" category.
155153
156154
name: Array of names used to label the series in the response.
157155
@@ -229,18 +227,17 @@ async def model(
229227
Args:
230228
date_end: End of the date range (inclusive).
231229
232-
date_range: Filters results by the specified date range. For example, use `7d` and
233-
`7dcontrol` to compare this week with the previous week. Use this parameter or
234-
set specific start and end dates (`dateStart` and `dateEnd` parameters).
230+
date_range: Filters results by date range. For example, use `7d` and `7dcontrol` to compare
231+
this week with the previous week. Use this parameter or set specific start and
232+
end dates (`dateStart` and `dateEnd` parameters).
235233
236234
date_start: Start of the date range.
237235
238236
format: Format in which results will be returned.
239237
240238
limit_per_group: Limits the number of objects per group to the top items within the specified
241-
time range. If there are more items than the limit, the response will include
242-
the count of items, with any remaining items grouped together under an "other"
243-
category.
239+
time range. When item count exceeds the limit, extra items appear grouped under
240+
an "other" category.
244241
245242
name: Array of names used to label the series in the response.
246243
@@ -297,18 +294,17 @@ async def task(
297294
Args:
298295
date_end: End of the date range (inclusive).
299296
300-
date_range: Filters results by the specified date range. For example, use `7d` and
301-
`7dcontrol` to compare this week with the previous week. Use this parameter or
302-
set specific start and end dates (`dateStart` and `dateEnd` parameters).
297+
date_range: Filters results by date range. For example, use `7d` and `7dcontrol` to compare
298+
this week with the previous week. Use this parameter or set specific start and
299+
end dates (`dateStart` and `dateEnd` parameters).
303300
304301
date_start: Start of the date range.
305302
306303
format: Format in which results will be returned.
307304
308305
limit_per_group: Limits the number of objects per group to the top items within the specified
309-
time range. If there are more items than the limit, the response will include
310-
the count of items, with any remaining items grouped together under an "other"
311-
category.
306+
time range. When item count exceeds the limit, extra items appear grouped under
307+
an "other" category.
312308
313309
name: Array of names used to label the series in the response.
314310

src/cloudflare/resources/radar/ai/inference/timeseries_groups/summary.py

+28-32
Original file line numberDiff line numberDiff line change
@@ -71,24 +71,23 @@ def model(
7171
Retrieves the distribution of unique accounts by model over time.
7272
7373
Args:
74-
agg_interval: Aggregation interval results should be returned in (for example, in 15 minutes
75-
or 1 hour intervals). Refer to
74+
agg_interval: Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals).
75+
Refer to
7676
[Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/).
7777
7878
date_end: End of the date range (inclusive).
7979
80-
date_range: Filters results by the specified date range. For example, use `7d` and
81-
`7dcontrol` to compare this week with the previous week. Use this parameter or
82-
set specific start and end dates (`dateStart` and `dateEnd` parameters).
80+
date_range: Filters results by date range. For example, use `7d` and `7dcontrol` to compare
81+
this week with the previous week. Use this parameter or set specific start and
82+
end dates (`dateStart` and `dateEnd` parameters).
8383
8484
date_start: Start of the date range.
8585
8686
format: Format in which results will be returned.
8787
8888
limit_per_group: Limits the number of objects per group to the top items within the specified
89-
time range. If there are more items than the limit, the response will include
90-
the count of items, with any remaining items grouped together under an "other"
91-
category.
89+
time range. When item count exceeds the limit, extra items appear grouped under
90+
an "other" category.
9291
9392
name: Array of names used to label the series in the response.
9493
@@ -145,24 +144,23 @@ def task(
145144
Retrieves the distribution of unique accounts by task over time.
146145
147146
Args:
148-
agg_interval: Aggregation interval results should be returned in (for example, in 15 minutes
149-
or 1 hour intervals). Refer to
147+
agg_interval: Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals).
148+
Refer to
150149
[Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/).
151150
152151
date_end: End of the date range (inclusive).
153152
154-
date_range: Filters results by the specified date range. For example, use `7d` and
155-
`7dcontrol` to compare this week with the previous week. Use this parameter or
156-
set specific start and end dates (`dateStart` and `dateEnd` parameters).
153+
date_range: Filters results by date range. For example, use `7d` and `7dcontrol` to compare
154+
this week with the previous week. Use this parameter or set specific start and
155+
end dates (`dateStart` and `dateEnd` parameters).
157156
158157
date_start: Start of the date range.
159158
160159
format: Format in which results will be returned.
161160
162161
limit_per_group: Limits the number of objects per group to the top items within the specified
163-
time range. If there are more items than the limit, the response will include
164-
the count of items, with any remaining items grouped together under an "other"
165-
category.
162+
time range. When item count exceeds the limit, extra items appear grouped under
163+
an "other" category.
166164
167165
name: Array of names used to label the series in the response.
168166
@@ -240,24 +238,23 @@ async def model(
240238
Retrieves the distribution of unique accounts by model over time.
241239
242240
Args:
243-
agg_interval: Aggregation interval results should be returned in (for example, in 15 minutes
244-
or 1 hour intervals). Refer to
241+
agg_interval: Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals).
242+
Refer to
245243
[Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/).
246244
247245
date_end: End of the date range (inclusive).
248246
249-
date_range: Filters results by the specified date range. For example, use `7d` and
250-
`7dcontrol` to compare this week with the previous week. Use this parameter or
251-
set specific start and end dates (`dateStart` and `dateEnd` parameters).
247+
date_range: Filters results by date range. For example, use `7d` and `7dcontrol` to compare
248+
this week with the previous week. Use this parameter or set specific start and
249+
end dates (`dateStart` and `dateEnd` parameters).
252250
253251
date_start: Start of the date range.
254252
255253
format: Format in which results will be returned.
256254
257255
limit_per_group: Limits the number of objects per group to the top items within the specified
258-
time range. If there are more items than the limit, the response will include
259-
the count of items, with any remaining items grouped together under an "other"
260-
category.
256+
time range. When item count exceeds the limit, extra items appear grouped under
257+
an "other" category.
261258
262259
name: Array of names used to label the series in the response.
263260
@@ -314,24 +311,23 @@ async def task(
314311
Retrieves the distribution of unique accounts by task over time.
315312
316313
Args:
317-
agg_interval: Aggregation interval results should be returned in (for example, in 15 minutes
318-
or 1 hour intervals). Refer to
314+
agg_interval: Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals).
315+
Refer to
319316
[Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/).
320317
321318
date_end: End of the date range (inclusive).
322319
323-
date_range: Filters results by the specified date range. For example, use `7d` and
324-
`7dcontrol` to compare this week with the previous week. Use this parameter or
325-
set specific start and end dates (`dateStart` and `dateEnd` parameters).
320+
date_range: Filters results by date range. For example, use `7d` and `7dcontrol` to compare
321+
this week with the previous week. Use this parameter or set specific start and
322+
end dates (`dateStart` and `dateEnd` parameters).
326323
327324
date_start: Start of the date range.
328325
329326
format: Format in which results will be returned.
330327
331328
limit_per_group: Limits the number of objects per group to the top items within the specified
332-
time range. If there are more items than the limit, the response will include
333-
the count of items, with any remaining items grouped together under an "other"
334-
category.
329+
time range. When item count exceeds the limit, extra items appear grouped under
330+
an "other" category.
335331
336332
name: Array of names used to label the series in the response.
337333

0 commit comments

Comments
 (0)