@@ -100,6 +100,7 @@ def list(
100100 custom_metadata : Optional [str ] | NotGiven = NOT_GIVEN ,
101101 failed_evals : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
102102 guardrailed : Optional [bool ] | NotGiven = NOT_GIVEN ,
103+ has_tool_calls : Optional [bool ] | NotGiven = NOT_GIVEN ,
103104 limit : int | NotGiven = NOT_GIVEN ,
104105 offset : int | NotGiven = NOT_GIVEN ,
105106 order : Literal ["asc" , "desc" ] | NotGiven = NOT_GIVEN ,
@@ -132,6 +133,8 @@ def list(
132133
133134 guardrailed: Filter by guardrailed status
134135
136+ has_tool_calls: Filter by whether the query log has tool calls
137+
135138 passed_evals: Filter by evals that passed
136139
137140 primary_eval_issue: Filter logs that have ANY of these primary evaluation issues (OR operation)
@@ -165,6 +168,7 @@ def list(
165168 "custom_metadata" : custom_metadata ,
166169 "failed_evals" : failed_evals ,
167170 "guardrailed" : guardrailed ,
171+ "has_tool_calls" : has_tool_calls ,
168172 "limit" : limit ,
169173 "offset" : offset ,
170174 "order" : order ,
@@ -189,6 +193,7 @@ def list_by_group(
189193 custom_metadata : Optional [str ] | NotGiven = NOT_GIVEN ,
190194 failed_evals : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
191195 guardrailed : Optional [bool ] | NotGiven = NOT_GIVEN ,
196+ has_tool_calls : Optional [bool ] | NotGiven = NOT_GIVEN ,
192197 limit : int | NotGiven = NOT_GIVEN ,
193198 needs_review : Optional [bool ] | NotGiven = NOT_GIVEN ,
194199 offset : int | NotGiven = NOT_GIVEN ,
@@ -223,6 +228,8 @@ def list_by_group(
223228
224229 guardrailed: Filter by guardrailed status
225230
231+ has_tool_calls: Filter by whether the query log has tool calls
232+
226233 needs_review: Filter logs that need review
227234
228235 passed_evals: Filter by evals that passed
@@ -259,6 +266,7 @@ def list_by_group(
259266 "custom_metadata" : custom_metadata ,
260267 "failed_evals" : failed_evals ,
261268 "guardrailed" : guardrailed ,
269+ "has_tool_calls" : has_tool_calls ,
262270 "limit" : limit ,
263271 "needs_review" : needs_review ,
264272 "offset" : offset ,
@@ -285,6 +293,7 @@ def list_groups(
285293 custom_metadata : Optional [str ] | NotGiven = NOT_GIVEN ,
286294 failed_evals : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
287295 guardrailed : Optional [bool ] | NotGiven = NOT_GIVEN ,
296+ has_tool_calls : Optional [bool ] | NotGiven = NOT_GIVEN ,
288297 limit : int | NotGiven = NOT_GIVEN ,
289298 needs_review : Optional [bool ] | NotGiven = NOT_GIVEN ,
290299 offset : int | NotGiven = NOT_GIVEN ,
@@ -319,6 +328,8 @@ def list_groups(
319328
320329 guardrailed: Filter by guardrailed status
321330
331+ has_tool_calls: Filter by whether the query log has tool calls
332+
322333 needs_review: Filter log groups that need review
323334
324335 passed_evals: Filter by evals that passed
@@ -354,6 +365,7 @@ def list_groups(
354365 "custom_metadata" : custom_metadata ,
355366 "failed_evals" : failed_evals ,
356367 "guardrailed" : guardrailed ,
368+ "has_tool_calls" : has_tool_calls ,
357369 "limit" : limit ,
358370 "needs_review" : needs_review ,
359371 "offset" : offset ,
@@ -472,6 +484,7 @@ def list(
472484 custom_metadata : Optional [str ] | NotGiven = NOT_GIVEN ,
473485 failed_evals : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
474486 guardrailed : Optional [bool ] | NotGiven = NOT_GIVEN ,
487+ has_tool_calls : Optional [bool ] | NotGiven = NOT_GIVEN ,
475488 limit : int | NotGiven = NOT_GIVEN ,
476489 offset : int | NotGiven = NOT_GIVEN ,
477490 order : Literal ["asc" , "desc" ] | NotGiven = NOT_GIVEN ,
@@ -504,6 +517,8 @@ def list(
504517
505518 guardrailed: Filter by guardrailed status
506519
520+ has_tool_calls: Filter by whether the query log has tool calls
521+
507522 passed_evals: Filter by evals that passed
508523
509524 primary_eval_issue: Filter logs that have ANY of these primary evaluation issues (OR operation)
@@ -537,6 +552,7 @@ def list(
537552 "custom_metadata" : custom_metadata ,
538553 "failed_evals" : failed_evals ,
539554 "guardrailed" : guardrailed ,
555+ "has_tool_calls" : has_tool_calls ,
540556 "limit" : limit ,
541557 "offset" : offset ,
542558 "order" : order ,
@@ -561,6 +577,7 @@ async def list_by_group(
561577 custom_metadata : Optional [str ] | NotGiven = NOT_GIVEN ,
562578 failed_evals : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
563579 guardrailed : Optional [bool ] | NotGiven = NOT_GIVEN ,
580+ has_tool_calls : Optional [bool ] | NotGiven = NOT_GIVEN ,
564581 limit : int | NotGiven = NOT_GIVEN ,
565582 needs_review : Optional [bool ] | NotGiven = NOT_GIVEN ,
566583 offset : int | NotGiven = NOT_GIVEN ,
@@ -595,6 +612,8 @@ async def list_by_group(
595612
596613 guardrailed: Filter by guardrailed status
597614
615+ has_tool_calls: Filter by whether the query log has tool calls
616+
598617 needs_review: Filter logs that need review
599618
600619 passed_evals: Filter by evals that passed
@@ -631,6 +650,7 @@ async def list_by_group(
631650 "custom_metadata" : custom_metadata ,
632651 "failed_evals" : failed_evals ,
633652 "guardrailed" : guardrailed ,
653+ "has_tool_calls" : has_tool_calls ,
634654 "limit" : limit ,
635655 "needs_review" : needs_review ,
636656 "offset" : offset ,
@@ -657,6 +677,7 @@ def list_groups(
657677 custom_metadata : Optional [str ] | NotGiven = NOT_GIVEN ,
658678 failed_evals : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
659679 guardrailed : Optional [bool ] | NotGiven = NOT_GIVEN ,
680+ has_tool_calls : Optional [bool ] | NotGiven = NOT_GIVEN ,
660681 limit : int | NotGiven = NOT_GIVEN ,
661682 needs_review : Optional [bool ] | NotGiven = NOT_GIVEN ,
662683 offset : int | NotGiven = NOT_GIVEN ,
@@ -691,6 +712,8 @@ def list_groups(
691712
692713 guardrailed: Filter by guardrailed status
693714
715+ has_tool_calls: Filter by whether the query log has tool calls
716+
694717 needs_review: Filter log groups that need review
695718
696719 passed_evals: Filter by evals that passed
@@ -726,6 +749,7 @@ def list_groups(
726749 "custom_metadata" : custom_metadata ,
727750 "failed_evals" : failed_evals ,
728751 "guardrailed" : guardrailed ,
752+ "has_tool_calls" : has_tool_calls ,
729753 "limit" : limit ,
730754 "needs_review" : needs_review ,
731755 "offset" : offset ,
0 commit comments