@@ -203,6 +203,7 @@ def list(
203
203
before : str | NotGiven = NOT_GIVEN ,
204
204
limit : int | NotGiven = NOT_GIVEN ,
205
205
order : Literal ["asc" , "desc" ] | NotGiven = NOT_GIVEN ,
206
+ run_id : str | NotGiven = NOT_GIVEN ,
206
207
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
207
208
# The extra values given here take precedence over values defined on the client or passed to this method.
208
209
extra_headers : Headers | None = None ,
@@ -230,6 +231,8 @@ def list(
230
231
order: Sort order by the `created_at` timestamp of the objects. `asc` for ascending
231
232
order and `desc` for descending order.
232
233
234
+ run_id: Filter messages by the run ID that generated them.
235
+
233
236
extra_headers: Send extra headers
234
237
235
238
extra_query: Add additional query parameters to the request
@@ -255,6 +258,7 @@ def list(
255
258
"before" : before ,
256
259
"limit" : limit ,
257
260
"order" : order ,
261
+ "run_id" : run_id ,
258
262
},
259
263
message_list_params .MessageListParams ,
260
264
),
@@ -432,6 +436,7 @@ def list(
432
436
before : str | NotGiven = NOT_GIVEN ,
433
437
limit : int | NotGiven = NOT_GIVEN ,
434
438
order : Literal ["asc" , "desc" ] | NotGiven = NOT_GIVEN ,
439
+ run_id : str | NotGiven = NOT_GIVEN ,
435
440
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
436
441
# The extra values given here take precedence over values defined on the client or passed to this method.
437
442
extra_headers : Headers | None = None ,
@@ -459,6 +464,8 @@ def list(
459
464
order: Sort order by the `created_at` timestamp of the objects. `asc` for ascending
460
465
order and `desc` for descending order.
461
466
467
+ run_id: Filter messages by the run ID that generated them.
468
+
462
469
extra_headers: Send extra headers
463
470
464
471
extra_query: Add additional query parameters to the request
@@ -484,6 +491,7 @@ def list(
484
491
"before" : before ,
485
492
"limit" : limit ,
486
493
"order" : order ,
494
+ "run_id" : run_id ,
487
495
},
488
496
message_list_params .MessageListParams ,
489
497
),
0 commit comments