Class TurnRecord
A single conversation turn (user message or assistant response).
public sealed class TurnRecord
- Inheritance
-
TurnRecord
- Inherited Members
Properties
Content
public string? Content { get; set; }
Property Value
ContextWindowTokens
Model context window size at the time of this turn (0 = unknown).
public int ContextWindowTokens { get; set; }
Property Value
CreatedAt
public DateTime CreatedAt { get; init; }
Property Value
CumulativeContextTokens
Estimated cumulative tokens in the context window after this turn completed.
public long CumulativeContextTokens { get; set; }
Property Value
DurationMs
public long DurationMs { get; set; }
Property Value
FilesTouched
[SuppressMessage("Design", "MA0016:Prefer using collection abstraction instead of implementation", Justification = "POCO for serialization")]
public Collection<FileTouchRecord> FilesTouched { get; init; }
Property Value
Id
public string Id { get; init; }
Property Value
ModelId
public string? ModelId { get; set; }
Property Value
ProviderName
public string? ProviderName { get; set; }
Property Value
Role
public string Role { get; init; }
Property Value
SessionId
public string SessionId { get; init; }
Property Value
ThinkingText
public string? ThinkingText { get; set; }
Property Value
TokensIn
public long TokensIn { get; set; }
Property Value
TokensOut
public long TokensOut { get; set; }
Property Value
ToolCalls
[SuppressMessage("Design", "MA0016:Prefer using collection abstraction instead of implementation", Justification = "POCO for serialization")]
public Collection<ToolCallRecord> ToolCalls { get; init; }
Property Value
TurnIndex
public int TurnIndex { get; init; }