Expand description
Audit trail — unified execution trace, querying, export, and analytics.
Provides a complete audit system that unifies safety audit events, tool execution records, and token/cost tracking into a single queryable, exportable trace.
Structs§
- Analytics
- Stateless analytics engine operating over slices of execution traces.
- Audit
Exporter - Stateless exporter capable of rendering execution traces in several formats.
- Audit
Query - Filtering criteria for querying the
AuditStore. - Audit
Store - Persistent, capacity-bounded store of execution traces.
- Cost
Breakdown - Aggregate cost breakdown across all models.
- Execution
Trace - The full execution history of a single task.
- Model
Cost Entry - Per-model cost and token breakdown.
- Pattern
- A detected pattern or anomaly in the audit data.
- Tool
Usage Summary - Summary of tool usage across a set of execution traces.
- Trace
Event - A single event within an execution trace, tagged with a monotonically increasing sequence number and a wall-clock timestamp.
Enums§
- Audit
Error - Errors that may occur during audit operations.
- Pattern
Kind - Enumeration of detectable pattern kinds.
- Trace
Event Kind - Discriminated union of all event kinds that may appear in a trace.