Skip to content

WebhookEvents

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The event types AgentPrism can publish.

public static class WebhookEvents

objectWebhookEvents

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Event names are part of the contract and must not change: subscribers save these strings.

A tool call is awaiting approval.

public const string ApprovalPending = "approval.pending"

string

An evaluation run completed.

public const string EvalCompleted = "eval.completed"

string

A queued job completed successfully.

public const string JobCompleted = "job.completed"

string

A queued job ended in an error.

public const string JobFailed = "job.failed"

string

A quota threshold was exceeded (80% or 100%).

public const string QuotaThreshold = "quota.threshold"

string

A run completed successfully.

public const string RunCompleted = "run.completed"

string

A run ended in an error.

public const string RunFailed = "run.failed"

string

The online evaluation window’s average score dropped below the threshold. A single low score does not TRIGGER this event — the minimum sample count must be exceeded.

public const string RunScoreLow = "run.score.low"

string

The test event sent to verify a subscription endpoint.

public const string Test = "test.ping"

string

A workflow is awaiting human input.

public const string WorkflowRequestPending = "workflow.request.pending"

string

All recognized event names.

public static IReadOnlyList<string> All { get; }

IReadOnlyList<string>

Reports whether an event name is recognized.

public static bool IsKnown(string? eventType)

eventType string?

The event name.

bool

true if the name is recognized.