Guardrails & Violations
Guardrail Invocations
Recent guardrail evaluation spans
GET
Guardrail Invocations
Recent
Returns
tracectrl.guardrail.evaluation spans for a specific (agent_id, guardrail_name) pair, ordered newest first. Reads directly from otel_traces and does not depend on the analytics pipeline tick.
Query Parameters
The agent that owns the guardrail.
The guardrail to query.
Maximum rows to return.
400 if agent_id or guardrail_name is missing.
Response
Array ofGuardrailInvocation objects:
Trace ID of the evaluation span
Span ID of the evaluation span
ISO-8601 timestamp
pass, fail, or errorpre_input or post_outputJudge’s reasoning
Evidence captured at evaluation time
Severity level
judge_llm or protector_plusModel used for the decision
Structured response payload (Protector Plus only; empty for legacy judge_llm spans)
Guardrail Invocations

