@@ -118,6 +118,7 @@ def list(
118118 List [Literal ["hallucination" , "search_failure" , "unhelpful" , "difficult_query" , "ungrounded" ]]
119119 ]
120120 | NotGiven = NOT_GIVEN ,
121+ search_text : Optional [str ] | NotGiven = NOT_GIVEN ,
121122 sort : Optional [str ] | NotGiven = NOT_GIVEN ,
122123 tool_call_names : Optional [SequenceNotStr [str ]] | NotGiven = NOT_GIVEN ,
123124 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
@@ -150,6 +151,9 @@ def list(
150151
151152 primary_eval_issue: Filter logs that have ANY of these primary evaluation issues (OR operation)
152153
154+ search_text: Case-insensitive search across evaluated_response and question fields
155+ (original_question if available, otherwise question)
156+
153157 sort: Field or score to sort by.
154158
155159 Available fields: 'created_at', 'primary_eval_issue_score'.
@@ -197,6 +201,7 @@ def list(
197201 "order" : order ,
198202 "passed_evals" : passed_evals ,
199203 "primary_eval_issue" : primary_eval_issue ,
204+ "search_text" : search_text ,
200205 "sort" : sort ,
201206 "tool_call_names" : tool_call_names ,
202207 "was_cache_hit" : was_cache_hit ,
@@ -268,6 +273,7 @@ def list_by_group(
268273 ]
269274 | NotGiven = NOT_GIVEN ,
270275 remediation_ids : SequenceNotStr [str ] | NotGiven = NOT_GIVEN ,
276+ search_text : Optional [str ] | NotGiven = NOT_GIVEN ,
271277 sort : Optional [str ] | NotGiven = NOT_GIVEN ,
272278 tool_call_names : Optional [SequenceNotStr [str ]] | NotGiven = NOT_GIVEN ,
273279 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
@@ -304,6 +310,9 @@ def list_by_group(
304310
305311 remediation_ids: List of groups to list child logs for
306312
313+ search_text: Case-insensitive search across evaluated_response and question fields
314+ (original_question if available, otherwise question)
315+
307316 sort: Field or score to sort by.
308317
309318 Available fields: 'created_at', 'primary_eval_issue_score'.
@@ -352,6 +361,7 @@ def list_by_group(
352361 "passed_evals" : passed_evals ,
353362 "primary_eval_issue" : primary_eval_issue ,
354363 "remediation_ids" : remediation_ids ,
364+ "search_text" : search_text ,
355365 "sort" : sort ,
356366 "tool_call_names" : tool_call_names ,
357367 "was_cache_hit" : was_cache_hit ,
@@ -382,6 +392,7 @@ def list_groups(
382392 List [Literal ["hallucination" , "search_failure" , "unhelpful" , "difficult_query" , "ungrounded" ]]
383393 ]
384394 | NotGiven = NOT_GIVEN ,
395+ search_text : Optional [str ] | NotGiven = NOT_GIVEN ,
385396 sort : Optional [str ] | NotGiven = NOT_GIVEN ,
386397 tool_call_names : Optional [SequenceNotStr [str ]] | NotGiven = NOT_GIVEN ,
387398 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
@@ -416,6 +427,9 @@ def list_groups(
416427
417428 primary_eval_issue: Filter logs that have ANY of these primary evaluation issues (OR operation)
418429
430+ search_text: Case-insensitive search across evaluated_response and question fields
431+ (original_question if available, otherwise question)
432+
419433 sort: Field or score to sort by.
420434
421435 Available fields: 'created_at', 'custom_rank', 'impact_score',
@@ -465,6 +479,7 @@ def list_groups(
465479 "order" : order ,
466480 "passed_evals" : passed_evals ,
467481 "primary_eval_issue" : primary_eval_issue ,
482+ "search_text" : search_text ,
468483 "sort" : sort ,
469484 "tool_call_names" : tool_call_names ,
470485 "was_cache_hit" : was_cache_hit ,
@@ -625,6 +640,7 @@ def list(
625640 List [Literal ["hallucination" , "search_failure" , "unhelpful" , "difficult_query" , "ungrounded" ]]
626641 ]
627642 | NotGiven = NOT_GIVEN ,
643+ search_text : Optional [str ] | NotGiven = NOT_GIVEN ,
628644 sort : Optional [str ] | NotGiven = NOT_GIVEN ,
629645 tool_call_names : Optional [SequenceNotStr [str ]] | NotGiven = NOT_GIVEN ,
630646 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
@@ -657,6 +673,9 @@ def list(
657673
658674 primary_eval_issue: Filter logs that have ANY of these primary evaluation issues (OR operation)
659675
676+ search_text: Case-insensitive search across evaluated_response and question fields
677+ (original_question if available, otherwise question)
678+
660679 sort: Field or score to sort by.
661680
662681 Available fields: 'created_at', 'primary_eval_issue_score'.
@@ -704,6 +723,7 @@ def list(
704723 "order" : order ,
705724 "passed_evals" : passed_evals ,
706725 "primary_eval_issue" : primary_eval_issue ,
726+ "search_text" : search_text ,
707727 "sort" : sort ,
708728 "tool_call_names" : tool_call_names ,
709729 "was_cache_hit" : was_cache_hit ,
@@ -777,6 +797,7 @@ async def list_by_group(
777797 ]
778798 | NotGiven = NOT_GIVEN ,
779799 remediation_ids : SequenceNotStr [str ] | NotGiven = NOT_GIVEN ,
800+ search_text : Optional [str ] | NotGiven = NOT_GIVEN ,
780801 sort : Optional [str ] | NotGiven = NOT_GIVEN ,
781802 tool_call_names : Optional [SequenceNotStr [str ]] | NotGiven = NOT_GIVEN ,
782803 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
@@ -813,6 +834,9 @@ async def list_by_group(
813834
814835 remediation_ids: List of groups to list child logs for
815836
837+ search_text: Case-insensitive search across evaluated_response and question fields
838+ (original_question if available, otherwise question)
839+
816840 sort: Field or score to sort by.
817841
818842 Available fields: 'created_at', 'primary_eval_issue_score'.
@@ -861,6 +885,7 @@ async def list_by_group(
861885 "passed_evals" : passed_evals ,
862886 "primary_eval_issue" : primary_eval_issue ,
863887 "remediation_ids" : remediation_ids ,
888+ "search_text" : search_text ,
864889 "sort" : sort ,
865890 "tool_call_names" : tool_call_names ,
866891 "was_cache_hit" : was_cache_hit ,
@@ -891,6 +916,7 @@ def list_groups(
891916 List [Literal ["hallucination" , "search_failure" , "unhelpful" , "difficult_query" , "ungrounded" ]]
892917 ]
893918 | NotGiven = NOT_GIVEN ,
919+ search_text : Optional [str ] | NotGiven = NOT_GIVEN ,
894920 sort : Optional [str ] | NotGiven = NOT_GIVEN ,
895921 tool_call_names : Optional [SequenceNotStr [str ]] | NotGiven = NOT_GIVEN ,
896922 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
@@ -925,6 +951,9 @@ def list_groups(
925951
926952 primary_eval_issue: Filter logs that have ANY of these primary evaluation issues (OR operation)
927953
954+ search_text: Case-insensitive search across evaluated_response and question fields
955+ (original_question if available, otherwise question)
956+
928957 sort: Field or score to sort by.
929958
930959 Available fields: 'created_at', 'custom_rank', 'impact_score',
@@ -974,6 +1003,7 @@ def list_groups(
9741003 "order" : order ,
9751004 "passed_evals" : passed_evals ,
9761005 "primary_eval_issue" : primary_eval_issue ,
1006+ "search_text" : search_text ,
9771007 "sort" : sort ,
9781008 "tool_call_names" : tool_call_names ,
9791009 "was_cache_hit" : was_cache_hit ,
0 commit comments