@@ -109,6 +109,7 @@ def list(
109109 ]
110110 | NotGiven = NOT_GIVEN ,
111111 sort : Optional [Literal ["created_at" , "primary_eval_issue_score" ]] | NotGiven = NOT_GIVEN ,
112+ tool_call_names : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
112113 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
113114 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
114115 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -135,6 +136,8 @@ def list(
135136
136137 primary_eval_issue: Filter logs that have ANY of these primary evaluation issues (OR operation)
137138
139+ tool_call_names: Filter by names of tools called in the assistant response
140+
138141 was_cache_hit: Filter by cache hit status
139142
140143 extra_headers: Send extra headers
@@ -168,6 +171,7 @@ def list(
168171 "passed_evals" : passed_evals ,
169172 "primary_eval_issue" : primary_eval_issue ,
170173 "sort" : sort ,
174+ "tool_call_names" : tool_call_names ,
171175 "was_cache_hit" : was_cache_hit ,
172176 },
173177 query_log_list_params .QueryLogListParams ,
@@ -196,6 +200,7 @@ def list_by_group(
196200 | NotGiven = NOT_GIVEN ,
197201 remediation_ids : List [str ] | NotGiven = NOT_GIVEN ,
198202 sort : Optional [Literal ["created_at" , "primary_eval_issue_score" ]] | NotGiven = NOT_GIVEN ,
203+ tool_call_names : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
199204 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
200205 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
201206 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -226,6 +231,8 @@ def list_by_group(
226231
227232 remediation_ids: List of groups to list child logs for
228233
234+ tool_call_names: Filter by names of tools called in the assistant response
235+
229236 was_cache_hit: Filter by cache hit status
230237
231238 extra_headers: Send extra headers
@@ -260,6 +267,7 @@ def list_by_group(
260267 "primary_eval_issue" : primary_eval_issue ,
261268 "remediation_ids" : remediation_ids ,
262269 "sort" : sort ,
270+ "tool_call_names" : tool_call_names ,
263271 "was_cache_hit" : was_cache_hit ,
264272 },
265273 query_log_list_by_group_params .QueryLogListByGroupParams ,
@@ -288,6 +296,7 @@ def list_groups(
288296 | NotGiven = NOT_GIVEN ,
289297 sort : Optional [Literal ["created_at" , "primary_eval_issue_score" , "total_count" , "custom_rank" , "impact_score" ]]
290298 | NotGiven = NOT_GIVEN ,
299+ tool_call_names : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
291300 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
292301 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
293302 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -316,6 +325,8 @@ def list_groups(
316325
317326 primary_eval_issue: Filter logs that have ANY of these primary evaluation issues (OR operation)
318327
328+ tool_call_names: Filter by names of tools called in the assistant response
329+
319330 was_cache_hit: Filter by cache hit status
320331
321332 extra_headers: Send extra headers
@@ -350,6 +361,7 @@ def list_groups(
350361 "passed_evals" : passed_evals ,
351362 "primary_eval_issue" : primary_eval_issue ,
352363 "sort" : sort ,
364+ "tool_call_names" : tool_call_names ,
353365 "was_cache_hit" : was_cache_hit ,
354366 },
355367 query_log_list_groups_params .QueryLogListGroupsParams ,
@@ -469,6 +481,7 @@ def list(
469481 ]
470482 | NotGiven = NOT_GIVEN ,
471483 sort : Optional [Literal ["created_at" , "primary_eval_issue_score" ]] | NotGiven = NOT_GIVEN ,
484+ tool_call_names : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
472485 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
473486 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
474487 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -495,6 +508,8 @@ def list(
495508
496509 primary_eval_issue: Filter logs that have ANY of these primary evaluation issues (OR operation)
497510
511+ tool_call_names: Filter by names of tools called in the assistant response
512+
498513 was_cache_hit: Filter by cache hit status
499514
500515 extra_headers: Send extra headers
@@ -528,6 +543,7 @@ def list(
528543 "passed_evals" : passed_evals ,
529544 "primary_eval_issue" : primary_eval_issue ,
530545 "sort" : sort ,
546+ "tool_call_names" : tool_call_names ,
531547 "was_cache_hit" : was_cache_hit ,
532548 },
533549 query_log_list_params .QueryLogListParams ,
@@ -556,6 +572,7 @@ async def list_by_group(
556572 | NotGiven = NOT_GIVEN ,
557573 remediation_ids : List [str ] | NotGiven = NOT_GIVEN ,
558574 sort : Optional [Literal ["created_at" , "primary_eval_issue_score" ]] | NotGiven = NOT_GIVEN ,
575+ tool_call_names : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
559576 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
560577 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
561578 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -586,6 +603,8 @@ async def list_by_group(
586603
587604 remediation_ids: List of groups to list child logs for
588605
606+ tool_call_names: Filter by names of tools called in the assistant response
607+
589608 was_cache_hit: Filter by cache hit status
590609
591610 extra_headers: Send extra headers
@@ -620,6 +639,7 @@ async def list_by_group(
620639 "primary_eval_issue" : primary_eval_issue ,
621640 "remediation_ids" : remediation_ids ,
622641 "sort" : sort ,
642+ "tool_call_names" : tool_call_names ,
623643 "was_cache_hit" : was_cache_hit ,
624644 },
625645 query_log_list_by_group_params .QueryLogListByGroupParams ,
@@ -648,6 +668,7 @@ def list_groups(
648668 | NotGiven = NOT_GIVEN ,
649669 sort : Optional [Literal ["created_at" , "primary_eval_issue_score" , "total_count" , "custom_rank" , "impact_score" ]]
650670 | NotGiven = NOT_GIVEN ,
671+ tool_call_names : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
651672 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
652673 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
653674 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -676,6 +697,8 @@ def list_groups(
676697
677698 primary_eval_issue: Filter logs that have ANY of these primary evaluation issues (OR operation)
678699
700+ tool_call_names: Filter by names of tools called in the assistant response
701+
679702 was_cache_hit: Filter by cache hit status
680703
681704 extra_headers: Send extra headers
@@ -710,6 +733,7 @@ def list_groups(
710733 "passed_evals" : passed_evals ,
711734 "primary_eval_issue" : primary_eval_issue ,
712735 "sort" : sort ,
736+ "tool_call_names" : tool_call_names ,
713737 "was_cache_hit" : was_cache_hit ,
714738 },
715739 query_log_list_groups_params .QueryLogListGroupsParams ,
0 commit comments