Skip to main content

Module model

Module model 

Source
Expand description

Typed analytics records and query filters (roadmap phase 73).

Records deliberately exclude prompt bodies, assistant text, tool output bodies, command payloads, and secrets. Tool names, provider/model ids, ids, timestamps, status, durations, usage counts, and bounded error classes are the entire vocabulary.

Structs§

DailyRollupRow
SessionRecord
SessionSummary
StatsFilter
Common filter for stats queries. All bounds are optional; since_ms and until_ms are inclusive/exclusive epoch-millisecond bounds.
TokenSummaryRow
TokenUsageRecord
ToolCallRecord
ToolSummary
TurnRecord
UsageSummary

Enums§

TokenGroup
WorkspaceLabelMode
How workspace paths are recorded and reported.

Constants§

ANALYTICS_JSONL_SCHEMA_VERSION
Version stamped on exported/imported normalized JSONL records.