Approvals / CLI

Get approval detail

Drill into one approval item. Returns the artifact (draft copy, reply text, or push event), prospect context, and the agent handoff trail that produced it.

pipeline get-approval-detailDeterministic operation

Parameters

workspaceIdOptional · string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
idRequired · string
The approval item id (UUID of the ai_message_drafts row for drafts and replies).
kindRequired · string
See the input schema for this field.draft · reply · push_event
Request example
pipeline get-approval-detail \
  --id "00000000-0000-4000-8000-000000000000" \
  --kind "draft"
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "minLength": 1,
      "description": "Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client."
    },
    "id": {
      "type": "string",
      "description": "The approval item id (UUID of the ai_message_drafts row for drafts and replies)."
    },
    "kind": {
      "type": "string",
      "enum": [
        "draft",
        "reply",
        "push_event"
      ]
    }
  },
  "required": [
    "id",
    "kind"
  ]
}
See this operation inMCP REST API TypeScript SDK
CLI guide | Pipeline v2 preview