Strategy / TypeScript SDK

Update campaign brief

Edit an existing campaign brief without hosted AI. Pass a partial plan, including name, frontEndOffer {name, description, whyIcpWantsIt}, or operatingContract with offerScore {deliveryCost, prospectValue, competenceProof, painFit, linkedinFriction, reasoning, total, verdict}. Scores are integers 1-5; total is their sum; verdict strong at 21+, usable at 16+, otherwise weak. Preserve other operatingContract fields. Asset selection uses selectedAssetBinding and is validated server-side.

pipeline.updateCampaignBriefDeterministic operation

Parameters

workspaceIdOptional · string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
briefIdRequired · string
See the input schema for this field.
planOptional · object
See the input schema for this field.
statusOptional · string
See the input schema for this field.draft · active · paused · exhausted · archived
icpProfileIdOptional · string | null
See the input schema for this field.
selectedAssetBindingOptional · object | null
See the input schema for this field.
Request example
await pipeline.updateCampaignBrief({
  "briefId": "00000000-0000-4000-8000-000000000000"
})
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "minLength": 1,
      "description": "Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client."
    },
    "briefId": {
      "type": "string"
    },
    "plan": {
      "type": "object",
      "additionalProperties": true
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "active",
        "paused",
        "exhausted",
        "archived"
      ]
    },
    "icpProfileId": {
      "type": [
        "string",
        "null"
      ]
    },
    "selectedAssetBinding": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true
    }
  },
  "required": [
    "briefId"
  ]
}
See this operation inCLI MCP REST API
TypeScript SDK | Pipeline v2 preview