Skip to main content

Module models

Module models 

Source

Structs§

ApiMessage
The inner API message returned by Claude.
AssistantMessage
An assistant response entry.
CacheCreationDetail
Breakdown of cache creation tokens by TTL bucket.
DataQuality
Quality metrics for a single session file.
GlobalDataQuality
Quality metrics aggregated across all session files.
ServerToolUse
Server-side tool usage counters.
SessionData
Aggregated data from a single session.
SessionFile
Metadata about a session JSONL file on disk.
TokenUsage
Token usage statistics for a single API call.
UserMessage
A user-authored message entry.
ValidatedTurn
A single validated assistant turn, ready for analysis.

Enums§

ContentBlock
A content block inside a message. Only text and tool_use are parsed; everything else is captured as Other.
JournalEntry
Top-level tagged union for each line in the JSONL session file.