WorkflowRespondHttpRequest
AgentPrism.AspNetCore.dllResponse to a pending human input request.
public sealed record WorkflowRespondHttpRequest : IEquatable<WorkflowRespondHttpRequest>Inheritance
Section titled “Inheritance”object ← WorkflowRespondHttpRequest
Implements
Section titled “Implements”IEquatable<WorkflowRespondHttpRequest>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”Which field is read is determined by the port’s response type; the server
reports this in the WorkflowPendingRequest.Form field. A
response that cannot be translated is rejected with 400 — silently
accepting a response of the wrong type would break execution at a point
that is hard to understand.
Constructors
Section titled “Constructors”WorkflowRespondHttpRequest()
Section titled “ WorkflowRespondHttpRequest()”public WorkflowRespondHttpRequest()Properties
Section titled “Properties”Approved
Section titled “ Approved”Yes/no response. In a plan approval, true approves
the plan; false sends it back with the correction in
the Text field.
public bool? Approved { get; init; }Property Value
Section titled “Property Value”bool?
CheckpointId
Section titled “ CheckpointId”Identifier of the checkpoint to resume. If left empty, the run’s most recent checkpoint is used.
public string? CheckpointId { get; init; }Property Value
Section titled “Property Value”Free-form response body. Resolved against the port’s response type.
public JsonElement? Data { get; init; }Property Value
Section titled “Property Value”RequestId
Section titled “ RequestId”Identifier of the request being answered.
public required string RequestId { get; init; }Property Value
Section titled “Property Value”Text response; in a plan approval this is the correction instruction.
public string? Text { 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(WorkflowRespondHttpRequest?)
Section titled “ Equals(WorkflowRespondHttpRequest?)”public bool Equals(WorkflowRespondHttpRequest? other)Parameters
Section titled “Parameters”other WorkflowRespondHttpRequest?
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 ==(WorkflowRespondHttpRequest?, WorkflowRespondHttpRequest?)
Section titled “ operator ==(WorkflowRespondHttpRequest?, WorkflowRespondHttpRequest?)”public static bool operator ==(WorkflowRespondHttpRequest? left, WorkflowRespondHttpRequest? right)Parameters
Section titled “Parameters”left WorkflowRespondHttpRequest?
right WorkflowRespondHttpRequest?
Returns
Section titled “Returns”operator !=(WorkflowRespondHttpRequest?, WorkflowRespondHttpRequest?)
Section titled “ operator !=(WorkflowRespondHttpRequest?, WorkflowRespondHttpRequest?)”public static bool operator !=(WorkflowRespondHttpRequest? left, WorkflowRespondHttpRequest? right)Parameters
Section titled “Parameters”left WorkflowRespondHttpRequest?
right WorkflowRespondHttpRequest?