Class GuardrailSpanData

java.lang.Object
ai.acolite.agentsdk.core.tracing.GuardrailSpanData
All Implemented Interfaces:
SpanData

public final class GuardrailSpanData extends Object implements SpanData
Span data for guardrail checks.

Captures security and safety guardrail evaluations, including whether the guardrail was triggered and why.

Ported from TypeScript OpenAI Agents SDK Source: tracing/spans.ts

  • Constructor Details

    • GuardrailSpanData

      public GuardrailSpanData()
  • Method Details

    • getType

      public String getType()
      Description copied from interface: SpanData
      Get the span type identifier. Used for serialization and type discrimination.
      Specified by:
      getType in interface SpanData
      Returns:
      Span type (e.g., "agent", "generation", "function")