Skip to content

WebhookApprovalSummary

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

A pending approval or human-input request’s webhook summary.

public sealed record WebhookApprovalSummary : IEquatable<WebhookApprovalSummary>

objectWebhookApprovalSummary

IEquatable<WebhookApprovalSummary>

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

public WebhookApprovalSummary()

The request’s user-facing text.

public string? Prompt { get; init; }

string?

The approval or request identifier.

public required string RequestId { get; init; }

string

The associated run identifier.

public string? RunId { get; init; }

string?

The name of the tool awaiting approval. Populated for tool approval.

public string? ToolName { get; init; }

string?

The name of the associated workflow. Populated for a human-input request.

public string? WorkflowName { get; init; }

string?

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(WebhookApprovalSummary? other)

other WebhookApprovalSummary?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(WebhookApprovalSummary?, WebhookApprovalSummary?)

Section titled “ operator ==(WebhookApprovalSummary?, WebhookApprovalSummary?)”
public static bool operator ==(WebhookApprovalSummary? left, WebhookApprovalSummary? right)

left WebhookApprovalSummary?

right WebhookApprovalSummary?

bool

operator !=(WebhookApprovalSummary?, WebhookApprovalSummary?)

Section titled “ operator !=(WebhookApprovalSummary?, WebhookApprovalSummary?)”
public static bool operator !=(WebhookApprovalSummary? left, WebhookApprovalSummary? right)

left WebhookApprovalSummary?

right WebhookApprovalSummary?

bool