Strategy / CLI

Preview campaign revision

Deterministically preview a prelaunch campaign revision. Returns changed fields, exact impact, row cohort, and a proposal fingerprint. Does not invoke AI or write data.

pipeline preview-campaign-revisionDeterministic operation

Parameters

workspaceIdRequired · string
See the input schema for this field.
briefIdRequired · string
See the input schema for this field.
segmentIdRequired · string
See the input schema for this field.
expectedVersionRequired · integer
See the input schema for this field.
proposedPlanRequired · object
See the input schema for this field.
expectedSegmentUpdatedAtOptional · string
See the input schema for this field.
segmentPatchOptional · object
See the input schema for this field.
reasonOptional · string
See the input schema for this field.
Request example
pipeline preview-campaign-revision \
  --workspace-id "00000000-0000-4000-8000-000000000000" \
  --brief-id "00000000-0000-4000-8000-000000000000" \
  --segment-id "00000000-0000-4000-8000-000000000000" \
  --expected-version 1 \
  --proposed-plan-json '{}'
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string"
    },
    "briefId": {
      "type": "string"
    },
    "segmentId": {
      "type": "string"
    },
    "expectedVersion": {
      "type": "integer",
      "minimum": 1
    },
    "proposedPlan": {
      "type": "object",
      "additionalProperties": true
    },
    "expectedSegmentUpdatedAt": {
      "type": "string"
    },
    "segmentPatch": {
      "type": "object",
      "additionalProperties": true
    },
    "reason": {
      "type": "string",
      "maxLength": 2000
    }
  },
  "required": [
    "workspaceId",
    "briefId",
    "segmentId",
    "expectedVersion",
    "proposedPlan"
  ],
  "additionalProperties": false
}
See this operation inMCP REST API TypeScript SDK
CLI guide | Pipeline v2 preview