cliDeterministic
Preview campaign revision
pipeline 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.
Parameters
workspaceIdrequired
string
No description.
briefIdrequired
string
No description.
segmentIdrequired
string
No description.
expectedVersionrequired
integer
No description.
proposedPlanrequired
object
No description.
expectedSegmentUpdatedAt
string
No description.
segmentPatch
object
No description.
reason
string
No description.
Example
CLI commandbash
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 '{}'
Response
Success response schemajson schema
{"type": "object","properties": {"changedFields": {"type": "array","items": {"type": "string"}},"proposalFingerprint": {"type": "string"},"impact": {"type": "object"},"validation": {"type": "object"}},"required": ["changedFields","proposalFingerprint","impact","validation"]}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.