molted approvals
List send approvals and withdraw your own pending send
| Command | Description |
|---|---|
molted approvals list | List send approvals |
molted approvals withdraw | Withdraw (reject) your own pending send. Give the approval id, or --request <requestId> from request-send |
Agent context
A plain list of this tenant's send approvals (GET /v1/send/approvals), scoped to the mailboxes the calling key can read, newest first, at most 100.
molted approvals list
molted approvals list --status pending
molted approvals list --mailbox <mailboxId>Withdraw your own pending send (PATCH /v1/send/approvals/:id, decision "rejected"). Only a send your own key (or a key of the same agent) created can be withdrawn; anyone else's is 403 not_own_send and stays a human decision in the portal. Approving is human-only (D3, epic #1353) and is not exposed here.
molted approvals withdraw <approvalId>
molted approvals withdraw --request <requestId> --reason "sent to the wrong list"A send held for approval returns {requestId, status: "pending_approval"} and no approval id: pass that requestId as --request (looked up by GET /v1/send/approvals?requestId=, however many newer approvals exist), or find the id in approvals list --status pending (id is the approval, request_id the send). molted overrides reject-send is a different, human-gated route that rejects a whole held thread and has no own-send exception.
Related: molted overrides queue, molted overrides held-messages
Commands
molted approvals list
List send approvals
molted approvals list [options]| Option | Description | Default |
|---|---|---|
--status <status> | Filter by approval status: pending, approved, rejected or expired | |
--mailbox <mailboxId> | Filter by mailbox ID (a UUID; 403 outside the key's scope) |
molted approvals withdraw
Withdraw (reject) your own pending send. Give the approval id, or --request <requestId> from request-send
molted approvals withdraw [options] [approvalId]| Argument | Description | Required |
|---|---|---|
[approvalId] | no |
| Option | Description | Default |
|---|---|---|
--request <requestId> | The send request id (resolved to its pending approval by GET /v1/send/approvals?requestId=) | |
--reason <text> | Why you are withdrawing it (recorded as the decision reason) |
See CLI overview for global options, credentials and output format.