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​

Abandoned​

readonly Abandoned: "abandoned";

Active​

readonly Active: "active";

Cancelled​

readonly Cancelled: "cancelled";

Completed​

readonly Completed: "completed";

Declined​

readonly Declined: "declined";

Expired​

readonly Expired: "expired";

PendingApproval​

readonly PendingApproval: "pending_approval";