Strategy / CLI
Apply campaign revision
Apply an exact previewed prelaunch campaign revision after confirmation. Refuses stale previews and live or scheduled campaigns. Does not source, research, write, schedule, or send.
pipeline apply-campaign-revisionDeterministic operationParameters
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.
proposalFingerprintRequired · string- See the input schema for this field.
rowCohortRequired · object- See the input schema for this field.
confirmRequired · boolean- See the input schema for this field.
pipeline apply-campaign-revision \
--workspace-id "00000000-0000-4000-8000-000000000001" \
--brief-id "00000000-0000-4000-8000-000000000002" \
--segment-id "00000000-0000-4000-8000-000000000003" \
--expected-version 1 \
--proposed-plan-json '{}' \
--proposal-fingerprint "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
--row-cohort-json '{}' \
--confirmFull 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
},
"proposalFingerprint": {
"type": "string"
},
"rowCohort": {
"type": "object",
"additionalProperties": true
},
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"workspaceId",
"briefId",
"segmentId",
"expectedVersion",
"proposedPlan",
"proposalFingerprint",
"rowCohort",
"confirm"
],
"additionalProperties": false
}