Class ConversationMessageMeta

Assembly: redb.Route.Llm.dll

Queryable metadata that lives on the message node — hoisted from
the message body so that index-friendly filters (date range, role,
iteration) can run without scanning the full payload.

public sealed class ConversationMessageMeta

Inheritance

Object→ConversationMessageMeta

Properties

ApiKeyFingerprint

Stable, non-secret fingerprint of the API key used for the call —

public string? ApiKeyFingerprint { get; init; }

AuditTags

Free-form audit tags captured pre-call from the fluent

public IReadOnlyDictionary<string, string>? AuditTags { get; init; }

BaseUrl

Effective base URL set on the connection factory. Null when the

public string? BaseUrl { get; init; }

CreatedAtUtc

Wall-clock timestamp the message was appended.

public DateTime CreatedAtUtc { get; init; }

FactoryName

Connection-factory alias used for this call (LlmConnectionFactory.Name) —

public string? FactoryName { get; init; }

Iteration

Agent iteration index (1-based) that produced the message; 0 for the user prompt.

public int Iteration { get; init; }

LatencyMs

Wall-clock time (milliseconds) the provider spent producing the

public long? LatencyMs { get; init; }

MaxTokens

Effective max-output-tokens cap; null on non-assistant rows.

public int? MaxTokens { get; init; }

ModelId

Model id as resolved at the time of the call.

public string? ModelId { get; init; }

PromptTemplateName

Prompt-template name resolved at call time (FK into PromptTemplateProps).

public string? PromptTemplateName { get; init; }

PromptTemplateVersion

Prompt-template version paired with .

public string? PromptTemplateVersion { get; init; }

ProviderId

Provider id ("openai", "anthropic", ...) — null for non-provider messages.

public string? ProviderId { get; init; }

ProviderResponseId

Provider-issued response identifier (top-level id on

public string? ProviderResponseId { get; init; }

ProviderSystemFingerprint

Opaque provider-side fingerprint identifying the backend configuration

public string? ProviderSystemFingerprint { get; init; }

RetryCount

How many times the route framework retried the inbound exchange before

public int? RetryCount { get; init; }

StopReason

Stop reason for assistant messages.

public LlmStopReason? StopReason { get; init; }

Temperature

Effective sampling temperature passed to the provider for the call

public double? Temperature { get; init; }

ToolSetHash

Stable hash of the tool-capabilities set exposed to the model on this

public string? ToolSetHash { get; init; }

ToolUseId

Tool-use id when the message is a tool result.

public string? ToolUseId { get; init; }

TopP

Effective top-p value; null on non-assistant rows.

public double? TopP { get; init; }

Usage

Token usage attributed to this turn.

public LlmUsage Usage { get; init; }

UserId

Stable identifier of the principal that initiated the agent turn that

public string? UserId { get; init; }