Approvals / TypeScript SDK

List pending approvals

List human-input items awaiting approval across the workspace: draft sends, drafted replies, push events, and Agent Teams human-input cards. Returns four arrays: drafts, replies, pushEvents, humanInputs.

pipeline.listPendingApprovalsDeterministic 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.
Request example
await pipeline.listPendingApprovals({})
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."
    }
  }
}
See this operation inCLI MCP REST API
TypeScript SDK | Pipeline v2 preview