DecideEndEvent
Namespace: E2E.Decision.Sdk
public record DecideEndEvent : DecideStartEvent, IEquatable<TelemetryEvent>, IEquatable<DecideStartEvent>, IEquatable<DecideEndEvent>The event passed to OnEnd (the AI SDK’s DecideEndEvent), when the operation completes successfully.
The result’s response is flattened as on DecisionResult.
Inheritance: object → TelemetryEvent → DecideStartEvent
Implements: IEquatable<TelemetryEvent>, IEquatable<DecideStartEvent>, IEquatable<DecideEndEvent>
Properties
Section titled “Properties”Answers
Section titled “Answers”public required IReadOnlyDictionary<string, DecisionAnswer> Answers { get; init; }Exactly one typed answer per question ID.
Value: IReadOnlyDictionary<string, DecisionAnswer>
ProviderMetadata
Section titled “ProviderMetadata”public JsonElement? ProviderMetadata { get; init; }Optional provider-specific metadata.
Value: JsonElement?
ResponseBody
Section titled “ResponseBody”public JsonElement? ResponseBody { get; init; }The provider’s response body, as it sent it (upstream’s response.body).
Value: JsonElement?
ResponseHeaders
Section titled “ResponseHeaders”public IReadOnlyDictionary<string, string>? ResponseHeaders { get; init; }The provider’s response headers (upstream’s response.headers), lowercase names.
Value: IReadOnlyDictionary<string, string>
ResponseId
Section titled “ResponseId”public string? ResponseId { get; init; }The ID of the response (upstream’s response.id), when the provider sends one.
Value: string
ResponseModelId
Section titled “ResponseModelId”public required string ResponseModelId { get; init; }The resolved model ID of the response.
Value: string
Rounding
Section titled “Rounding”public DecisionRounding? Rounding { get; init; }Provider-declared decimal precision for probabilities and scores.
Value: DecisionRounding
Timestamp
Section titled “Timestamp”public required DateTimeOffset Timestamp { get; init; }The timestamp of the response.
Value: DateTimeOffset
public required DecisionUsage Usage { get; init; }Token usage for the decision operation.
Value: DecisionUsage
Warnings
Section titled “Warnings”public required IReadOnlyList<string> Warnings { get; init; }Warnings from the decision model.
Value: IReadOnlyList<string>