cliHosted AI, explicit consent
Create campaign brief
pipeline create-campaign-brief
Expand a chosen idea into a full structured campaign brief (ICP rubric, targeting filters, required research signals, message decision tree, frameworks, cadence). For kind=campaign pass the ideaId from create-strategy-ideas. kind=content or engagement build single-shot from workspace context (no ideaId). The brief persists as draft; run activate-brief to launch it. Returns { agentRunId, brief, kind }.
Parameters
workspaceId
string
Optional with an API key (inferred from the key).
kind
string
Brief kind. Default campaign.
campaign | content | engagement
ideaId
string
Required when kind=campaign: the campaign idea to expand.
allowHostedAi
boolean
Must be true when this operation uses Pipeline hosted inference.
Example
CLI commandbash
pipeline create-campaign-brief \--allow-hosted-ai
Response
The operation is available, but its typed response schema has not been published yet.
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.