Strategy / TypeScript SDK

Validate campaign brief

Run the deterministic brief quality gate (the parity enforcer): proof points must trace to real GTM case studies/offers, decision-tree conditions must reference declared signals, the value proposition must link to a distinct ICP pain, and audience size must be sane. Pass briefId (a stored brief) OR plan (a raw brief plan you authored locally) - exactly one. mode launch (default) demotes generation-quality findings to warnings; strict treats them as errors. Returns { valid, errors, warnings }. Always run this before activating a brief you reasoned yourself.

pipeline.validateCampaignBriefDeterministic operation

Parameters

workspaceIdOptional · string
Optional with an API key (inferred from the key).
briefIdOptional · string
Validate a stored brief by id. Mutually exclusive with plan.
planOptional · object
Validate a raw brief plan object (e.g. one a local agent just authored). Mutually exclusive with briefId.
modeOptional · string
launch (default) or strict.strict · launch
Request example
await pipeline.validateCampaignBrief({})
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "Optional with an API key (inferred from the key)."
    },
    "briefId": {
      "type": "string",
      "description": "Validate a stored brief by id. Mutually exclusive with plan."
    },
    "plan": {
      "type": "object",
      "description": "Validate a raw brief plan object (e.g. one a local agent just authored). Mutually exclusive with briefId.",
      "additionalProperties": true
    },
    "mode": {
      "type": "string",
      "enum": [
        "strict",
        "launch"
      ],
      "description": "launch (default) or strict."
    }
  }
}
See this operation inCLI MCP REST API
TypeScript SDK | Pipeline v2 preview