Approvals / TypeScript SDK

Resolve hitl card

Resolve an Agent Teams human-input card. Non-privileged Clerk cards require workspace membership, privileged kinds require full campaign access, and write-scoped API keys may resolve cards.

pipeline.resolveHitlCardDeterministic operation

Parameters

workspaceIdOptional · string
Optional with API key auth - inferred from the key.
cardIdRequired · string
See the input schema for this field.
actionRequired · string
See the input schema for this field.approve · edit · revise · skip · reject
editedTextOptional · string
See the input schema for this field.
revisionFeedbackOptional · string
See the input schema for this field.
rowCapOptional · number
See the input schema for this field.
targetRowCountOptional · number
Target lead count from 10 to 1000.
icpCorrectionsOptional · array
See the input schema for this field.
stopWorkflowOptional · boolean
See the input schema for this field.
Request example
await pipeline.resolveHitlCard({
  "cardId": "00000000-0000-4000-8000-000000000000",
  "action": "approve"
})
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "Optional with API key auth - inferred from the key."
    },
    "cardId": {
      "type": "string"
    },
    "action": {
      "type": "string",
      "enum": [
        "approve",
        "edit",
        "revise",
        "skip",
        "reject"
      ]
    },
    "editedText": {
      "type": "string"
    },
    "revisionFeedback": {
      "type": "string"
    },
    "rowCap": {
      "type": "number"
    },
    "targetRowCount": {
      "type": "number",
      "description": "Target lead count from 10 to 1000."
    },
    "icpCorrections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rowId": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "priority",
              "qualified",
              "disqualified"
            ]
          },
          "score": {
            "type": "number"
          },
          "reasons": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "reachability": {
            "type": "string",
            "enum": [
              "linkedin_ready",
              "email_ready",
              "missing_contact",
              "not_channel_fit"
            ]
          }
        },
        "required": [
          "rowId",
          "status"
        ]
      }
    },
    "stopWorkflow": {
      "type": "boolean"
    }
  },
  "required": [
    "cardId",
    "action"
  ]
}
See this operation inCLI MCP REST API
TypeScript SDK | Pipeline v2 preview