Skip to content

ApprovalStatus

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The status of a pending approval request.

[JsonConverter(typeof(JsonStringEnumConverter<ApprovalStatus>))]
public enum ApprovalStatus

Approved = 1

The operator approved the request.

Expired = 3

The request expired before a decision was made.

Pending = 0

The decision is still awaited.

Rejected = 2

The operator rejected the request.

The value is written as a name in JSON, not as a number — the reason is the same as for RunStatus. It is stored as smallint in the database; the order of the values cannot change.