@@ -504,6 +504,12 @@ class QueryLogsByGroupQueryLog(BaseModel):
504504 itself.
505505 """
506506
507+ non_triggered_deterministic_guardrail_ids : Optional [List [str ]] = None
508+ """
509+ UUIDs of deterministic guardrails that were checked but not triggered for this
510+ query
511+ """
512+
507513 original_assistant_response : Optional [str ] = None
508514 """The original assistant response that would have been displayed to the user.
509515
@@ -538,6 +544,9 @@ class QueryLogsByGroupQueryLog(BaseModel):
538544 If not provided, it is assumed no tools were provided to the LLM.
539545 """
540546
547+ triggered_deterministic_guardrail_ids : Optional [List [str ]] = None
548+ """UUIDs of deterministic guardrails that were triggered for this query"""
549+
541550
542551class QueryLogsByGroup (BaseModel ):
543552 query_logs : List [QueryLogsByGroupQueryLog ]
@@ -572,6 +581,12 @@ class Filters(BaseModel):
572581 needs_review : Optional [bool ] = None
573582 """Filter logs that need review"""
574583
584+ non_triggered_deterministic_guardrail_ids : Optional [List [str ]] = None
585+ """
586+ Filter logs where ANY of these deterministic guardrail IDs were checked but not
587+ triggered (OR operation)
588+ """
589+
575590 passed_evals : Optional [List [str ]] = None
576591 """Filter by evals that passed"""
577592
@@ -589,6 +604,12 @@ class Filters(BaseModel):
589604 tool_call_names : Optional [List [str ]] = None
590605 """Filter by names of tools called in the assistant response"""
591606
607+ triggered_deterministic_guardrail_ids : Optional [List [str ]] = None
608+ """
609+ Filter logs where ANY of these deterministic guardrail IDs were triggered (OR
610+ operation)
611+ """
612+
592613 was_cache_hit : Optional [bool ] = None
593614 """Filter by cache hit status"""
594615
0 commit comments