@@ -70,6 +70,7 @@ def events(
7070 | Omit = omit ,
7171 limit : int | Omit = omit ,
7272 offset : int | Omit = omit ,
73+ order : str | Omit = omit ,
7374 since : str | Omit = omit ,
7475 until : str | Omit = omit ,
7576 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -79,11 +80,12 @@ def events(
7980 extra_body : Body | None = None ,
8081 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
8182 ) -> SyncOffsetPagination [TelemetryEventsResponse ]:
82- """
83- Reads a page of telemetry events for the browser session in ascending sequence
84- order. To page through results, pass the X-Next-Offset value from the previous
85- response as offset and repeat while X-Has-More is true. Returns an empty list
86- when telemetry data is unavailable.
83+ """Reads a page of telemetry events for the browser session.
84+
85+ To page through
86+ results, pass the X-Next-Offset value from the previous response as offset and
87+ repeat while X-Has-More is true. Returns an empty list when telemetry data is
88+ unavailable.
8789
8890 Args:
8991 category: Restrict results to these event categories. Repeat the parameter for multiple
@@ -96,6 +98,13 @@ def events(
9698 since is ignored, while until still bounds the page. It is not an event's seq
9799 field, so do not derive it from the response body.
98100
101+ order: Read direction. asc (default) reads oldest first, starting from since or the
102+ offset cursor. desc reads newest first: each request returns one page of up to
103+ limit records ending at the offset cursor (or until, or the newest archived
104+ event); combining desc with since is rejected with a 400. In either direction
105+ the category filter applies within the page, so a filtered page may be empty
106+ while X-Has-More is true.
107+
99108 since: Start of the window: an RFC-3339 timestamp, or a duration like 5m meaning that
100109 long ago. Defaults to 5m. Ignored when offset is set.
101110
@@ -125,6 +134,7 @@ def events(
125134 "category" : category ,
126135 "limit" : limit ,
127136 "offset" : offset ,
137+ "order" : order ,
128138 "since" : since ,
129139 "until" : until ,
130140 },
@@ -234,6 +244,7 @@ def events(
234244 | Omit = omit ,
235245 limit : int | Omit = omit ,
236246 offset : int | Omit = omit ,
247+ order : str | Omit = omit ,
237248 since : str | Omit = omit ,
238249 until : str | Omit = omit ,
239250 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -243,11 +254,12 @@ def events(
243254 extra_body : Body | None = None ,
244255 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
245256 ) -> AsyncPaginator [TelemetryEventsResponse , AsyncOffsetPagination [TelemetryEventsResponse ]]:
246- """
247- Reads a page of telemetry events for the browser session in ascending sequence
248- order. To page through results, pass the X-Next-Offset value from the previous
249- response as offset and repeat while X-Has-More is true. Returns an empty list
250- when telemetry data is unavailable.
257+ """Reads a page of telemetry events for the browser session.
258+
259+ To page through
260+ results, pass the X-Next-Offset value from the previous response as offset and
261+ repeat while X-Has-More is true. Returns an empty list when telemetry data is
262+ unavailable.
251263
252264 Args:
253265 category: Restrict results to these event categories. Repeat the parameter for multiple
@@ -260,6 +272,13 @@ def events(
260272 since is ignored, while until still bounds the page. It is not an event's seq
261273 field, so do not derive it from the response body.
262274
275+ order: Read direction. asc (default) reads oldest first, starting from since or the
276+ offset cursor. desc reads newest first: each request returns one page of up to
277+ limit records ending at the offset cursor (or until, or the newest archived
278+ event); combining desc with since is rejected with a 400. In either direction
279+ the category filter applies within the page, so a filtered page may be empty
280+ while X-Has-More is true.
281+
263282 since: Start of the window: an RFC-3339 timestamp, or a duration like 5m meaning that
264283 long ago. Defaults to 5m. Ignored when offset is set.
265284
@@ -289,6 +308,7 @@ def events(
289308 "category" : category ,
290309 "limit" : limit ,
291310 "offset" : offset ,
311+ "order" : order ,
292312 "since" : since ,
293313 "until" : until ,
294314 },
0 commit comments