@@ -256,6 +256,7 @@ def update(
256256 def list (
257257 self ,
258258 * ,
259+ benchmark_id : str | NotGiven = NOT_GIVEN ,
259260 limit : int | NotGiven = NOT_GIVEN ,
260261 name : str | NotGiven = NOT_GIVEN ,
261262 starting_after : str | NotGiven = NOT_GIVEN ,
@@ -266,12 +267,13 @@ def list(
266267 extra_body : Body | None = None ,
267268 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
268269 ) -> SyncScenariosCursorIDPage [ScenarioView ]:
269- """List all Scenarios matching filter.
270+ """
271+ List all Scenarios matching filter.
270272
271273 Args:
272- limit: The limit of items to return .
274+ benchmark_id: Filter scenarios by benchmark ID .
273275
274- Default is 20.
276+ limit: The limit of items to return. Default is 20.
275277
276278 name: Query for Scenarios with a given name.
277279
@@ -295,6 +297,7 @@ def list(
295297 timeout = timeout ,
296298 query = maybe_transform (
297299 {
300+ "benchmark_id" : benchmark_id ,
298301 "limit" : limit ,
299302 "name" : name ,
300303 "starting_after" : starting_after ,
@@ -679,6 +682,7 @@ async def update(
679682 def list (
680683 self ,
681684 * ,
685+ benchmark_id : str | NotGiven = NOT_GIVEN ,
682686 limit : int | NotGiven = NOT_GIVEN ,
683687 name : str | NotGiven = NOT_GIVEN ,
684688 starting_after : str | NotGiven = NOT_GIVEN ,
@@ -689,12 +693,13 @@ def list(
689693 extra_body : Body | None = None ,
690694 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
691695 ) -> AsyncPaginator [ScenarioView , AsyncScenariosCursorIDPage [ScenarioView ]]:
692- """List all Scenarios matching filter.
696+ """
697+ List all Scenarios matching filter.
693698
694699 Args:
695- limit: The limit of items to return .
700+ benchmark_id: Filter scenarios by benchmark ID .
696701
697- Default is 20.
702+ limit: The limit of items to return. Default is 20.
698703
699704 name: Query for Scenarios with a given name.
700705
@@ -718,6 +723,7 @@ def list(
718723 timeout = timeout ,
719724 query = maybe_transform (
720725 {
726+ "benchmark_id" : benchmark_id ,
721727 "limit" : limit ,
722728 "name" : name ,
723729 "starting_after" : starting_after ,
0 commit comments