Engagement / TypeScript SDK

List comment drafts

List AI-drafted comments awaiting review for tracked influencer/pod posts. Drafts are generated by the comment-agent cron pipeline over posts from tracked profiles, not created directly by this tool.

pipeline.listCommentDraftsDeterministic operation

Parameters

workspaceIdOptional · string
Workspace UUID. Optional when using API key auth (inferred from the key).
statusOptional · string
Filter by draft status, or "all".
profileTypeOptional · string
Filter by influencer/pod_member, or "all".
podIdOptional · string
See the input schema for this field.
linkedinAccountIdOptional · string
See the input schema for this field.
minConfidenceOptional · number
See the input schema for this field.
maxConfidenceOptional · number
See the input schema for this field.
sortByOptional · string
See the input schema for this field.created_at · confidence_score · expires_at
sortOrderOptional · string
See the input schema for this field.asc · desc
limitOptional · number
See the input schema for this field.
offsetOptional · number
See the input schema for this field.
Request example
await pipeline.listCommentDrafts({})
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "Workspace UUID. Optional when using API key auth (inferred from the key)."
    },
    "status": {
      "type": "string",
      "description": "Filter by draft status, or \"all\"."
    },
    "profileType": {
      "type": "string",
      "description": "Filter by influencer/pod_member, or \"all\"."
    },
    "podId": {
      "type": "string"
    },
    "linkedinAccountId": {
      "type": "string"
    },
    "minConfidence": {
      "type": "number"
    },
    "maxConfidence": {
      "type": "number"
    },
    "sortBy": {
      "type": "string",
      "enum": [
        "created_at",
        "confidence_score",
        "expires_at"
      ]
    },
    "sortOrder": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    },
    "limit": {
      "type": "number"
    },
    "offset": {
      "type": "number"
    }
  }
}
See this operation inCLI MCP REST API
TypeScript SDK | Pipeline v2 preview