WebhookRunSummary
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllA run’s webhook summary.
public sealed record WebhookRunSummary : IEquatable<WebhookRunSummary>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”WebhookRunSummary()
Section titled “ WebhookRunSummary()”public WebhookRunSummary()Properties
Section titled “Properties”AgentName
Section titled “ AgentName”The name of the agent that ran.
public string? AgentName { get; init; }Property Value
Section titled “Property Value”The total amount. null if pricing is undefined — not zero.
public decimal? Cost { get; init; }Property Value
Section titled “Property Value”Currency
Section titled “ Currency”The amount’s currency.
public string? Currency { get; init; }Property Value
Section titled “Property Value”DurationMs
Section titled “ DurationMs”The duration (milliseconds).
public long? DurationMs { get; init; }Property Value
Section titled “Property Value”long?
The error message. Populated on the run.failed event.
public string? Error { get; init; }Property Value
Section titled “Property Value”InputTokens
Section titled “ InputTokens”The input tokens.
public long? InputTokens { get; init; }Property Value
Section titled “Property Value”long?
ModelId
Section titled “ ModelId”The identifier of the model used.
public string? ModelId { get; init; }Property Value
Section titled “Property Value”OutputTokens
Section titled “ OutputTokens”The output tokens.
public long? OutputTokens { get; init; }Property Value
Section titled “Property Value”long?
RootRunId
Section titled “ RootRunId”The tree root’s identifier. Equal to itself for the root run.
public string? RootRunId { get; init; }Property Value
Section titled “Property Value”The run identifier.
public required string RunId { get; init; }Property Value
Section titled “Property Value”SessionId
Section titled “ SessionId”The session identifier.
public string? SessionId { get; init; }Property Value
Section titled “Property Value”Status
Section titled “ Status”The final status.
public string? Status { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(WebhookRunSummary?)
Section titled “ Equals(WebhookRunSummary?)”public bool Equals(WebhookRunSummary? other)Parameters
Section titled “Parameters”other WebhookRunSummary?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(WebhookRunSummary?, WebhookRunSummary?)
Section titled “ operator ==(WebhookRunSummary?, WebhookRunSummary?)”public static bool operator ==(WebhookRunSummary? left, WebhookRunSummary? right)Parameters
Section titled “Parameters”left WebhookRunSummary?
right WebhookRunSummary?
Returns
Section titled “Returns”operator !=(WebhookRunSummary?, WebhookRunSummary?)
Section titled “ operator !=(WebhookRunSummary?, WebhookRunSummary?)”public static bool operator !=(WebhookRunSummary? left, WebhookRunSummary? right)Parameters
Section titled “Parameters”left WebhookRunSummary?
right WebhookRunSummary?