Approvals / CLI

Resolve reply draft

Approve or reject one pending Reply Agent draft by id. Approval marks it sendable for the existing sender pipeline.

pipeline resolve-reply-draftDeterministic operation

Parameters

workspaceIdOptional · string
Optional with API key auth - inferred from the key.
draftIdRequired · string
See the input schema for this field.
approvalStatusRequired · string
See the input schema for this field.approved · rejected
editedMessageOptional · string
See the input schema for this field.
rejectionReasonOptional · string
See the input schema for this field.
Request example
pipeline resolve-reply-draft \
  --draft-id "00000000-0000-4000-8000-000000000000" \
  --approval-status "approved"
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "Optional with API key auth - inferred from the key."
    },
    "draftId": {
      "type": "string"
    },
    "approvalStatus": {
      "type": "string",
      "enum": [
        "approved",
        "rejected"
      ]
    },
    "editedMessage": {
      "type": "string"
    },
    "rejectionReason": {
      "type": "string"
    }
  },
  "required": [
    "draftId",
    "approvalStatus"
  ]
}
See this operation inMCP REST API TypeScript SDK
CLI guide | Pipeline v2 preview