Skip to main content

Variable.MissionRunStatus

const MissionRunStatus: {
Abandoned: "abandoned";
Active: "active";
Cancelled: "cancelled";
Completed: "completed";
Declined: "declined";
Expired: "expired";
PendingApproval: "pending_approval";
};

Lifecycle state of a mission run.

  • pending_approval: waiting for a wallet operator (mission requires human approval).
  • active: the agent can pay under the run's envelope.
  • declined: an operator refused the run.
  • abandoned: the agent gave up before approval.
  • completed: the agent reported the run done.
  • cancelled: stopped by a person while active.
  • expired: the run's duration elapsed.

Type Declaration​

NameTypeDefault value
Abandoned"abandoned"'abandoned'
Active"active"'active'
Cancelled"cancelled"'cancelled'
Completed"completed"'completed'
Declined"declined"'declined'
Expired"expired"'expired'
PendingApproval"pending_approval"'pending_approval'