Strategy / REST API
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.
POST /api/v1/strategy/validate-briefDeterministic operationParameters
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
curl -X POST "https://app.pipeline.help/api/v1/strategy/validate-brief" \
-H "Authorization: Bearer $PIPELINE_API_KEY"Full 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."
}
}
}