Campaign Briefs / REST API

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.

POST /api/v1/strategy/provision-tableBackend 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
curl -X POST "https://app.pipeline.help/api/v1/strategy/provision-table" \
  -H "Authorization: Bearer $PIPELINE_API_KEY" \
  -H "X-Pipeline-Execution-Policy: hosted-enabled" \
  -H "Content-Type: application/json" \
  -d '{"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 TypeScript SDK
API reference | Pipeline v2 preview