Campaign Briefs / TypeScript SDK

Provision brief table

Create or repair the Agent Teams enrichment table for a campaign brief. external_agent compiles saved table design or deterministic factory columns with automatic processing held, without hosted inference. pipeline_hosted runs the GTM Engineer design lane and requires hosted-AI consent. Binds available provider credentials, stamps table-build readiness, and returns the table id. Idempotent.

pipeline.provisionBriefTableBackend AI, consent required

Parameters

workspaceIdOptional · string
Optional with API key auth - inferred from the key.
briefIdRequired · string
See the input schema for this field.
executionModeOptional · string
See the input schema for this field.pipeline_hosted · external_agent
allowHostedAiOptional · boolean
Must be true when this operation uses Pipeline hosted inference.
Request example
await pipeline.provisionBriefTable({
  "briefId": "00000000-0000-4000-8000-000000000000",
  "allowHostedAi": true
})
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "Optional with API key auth - inferred from the key."
    },
    "briefId": {
      "type": "string"
    },
    "executionMode": {
      "type": "string",
      "enum": [
        "pipeline_hosted",
        "external_agent"
      ],
      "default": "pipeline_hosted"
    },
    "allowHostedAi": {
      "type": "boolean",
      "description": "Must be true when this operation uses Pipeline hosted inference."
    }
  },
  "required": [
    "briefId"
  ]
}
See this operation inCLI MCP REST API
TypeScript SDK | Pipeline v2 preview