Campaign Briefs / TypeScript SDK

Save icp rubric

Persist a revised ICP rubric onto a campaign brief. Use after revise-icp-rubric once the operator or coding agent accepts the revised criteria.

pipeline.saveIcpRubricDeterministic 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
Campaign brief id.
rubricRequired · object
Revised icpRubric to save to the brief.
Request example
await pipeline.saveIcpRubric({
  "briefId": "00000000-0000-4000-8000-000000000000",
  "rubric": {
    "naturalLanguageCriteria": "Founder-led B2B software companies"
  }
})
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",
      "description": "Campaign brief id."
    },
    "rubric": {
      "type": "object",
      "description": "Revised icpRubric to save to the brief."
    }
  },
  "required": [
    "briefId",
    "rubric"
  ]
}
See this operation inCLI MCP REST API
TypeScript SDK | Pipeline v2 preview