Class ConversationProps

Assembly: redb.Route.Llm.dll

Root record of a single LLM conversation. Top-level scalar fields are
hoisted so that WhereRedb queries (by tenant, status, last activity)
hit the _objects table directly without scanning _values.
Message nodes are stored as child via
TreeRedbObject; this record holds only conversation-level counters
and metadata.

[RedbScheme("LLM Conversation")]
public class ConversationProps

Inheritance

Object→ConversationProps

Properties

LastActivityAtUtc

When the most recent message was appended.

public DateTimeOffset LastActivityAtUtc { get; set; }

RunCount

Number of agent runs (resumes) that have touched the conversation.

public int RunCount { get; set; }

StartedAtUtc

When the conversation was created.

public DateTimeOffset StartedAtUtc { get; set; }

Status

Lifecycle state: "active" / "closed" / "archived".

public string Status { get; set; }

TenantId

Tenant or organization owning the conversation.

public string TenantId { get; set; }

Title

Human-readable title; null when not yet set by the agent.

public string? Title { get; set; }

TotalCostUsd

Cumulative cost in USD across the conversation.

public decimal TotalCostUsd { get; set; }

TotalInputTokens

Cumulative input tokens across every iteration of every run.

public long TotalInputTokens { get; set; }

TotalOutputTokens

Cumulative output tokens across every iteration of every run.

public long TotalOutputTokens { get; set; }