Enrichment Tables / TypeScript SDK
Apply table blueprint
Apply a validated blueprint to the campaign table for a stored brief. Use external_agent when Codex, Claude Code, or another coding agent will produce and persist typed outputs without Pipeline-hosted inference.
pipeline.applyTableBlueprintDeterministic operationParameters
workspaceIdOptional · string- Optional with API key auth, inferred from the key.
briefIdRequired · string- See the input schema for this field.
blueprintRequired · object- See the input schema for this field.
executionModeRequired · string- Use external_agent for Codex, Claude Code, and CLI subscription inference. Hosted BYOK execution must be selected explicitly with pipeline_hosted.pipeline_hosted · external_agent
await pipeline.applyTableBlueprint({
"briefId": "00000000-0000-4000-8000-000000000000",
"blueprint": {
"name": "example",
"blocks": [
{
"id": "example",
"type": "company_snapshot"
}
]
},
"executionMode": "pipeline_hosted"
})Full input schema
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"description": "Optional with API key auth, inferred from the key."
},
"briefId": {
"type": "string"
},
"blueprint": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"blocks": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"pattern": "^[a-z][a-z0-9_-]*$"
},
"type": {
"type": "string",
"enum": [
"company_snapshot",
"website_research",
"case_study_extract",
"signal_check",
"linkedin_activity",
"icp_gate",
"personalization",
"gated_copy",
"formula",
"table_lookup",
"custom_research",
"ai_generation",
"email_finder",
"email_verifier",
"provider_enrichment",
"typed_column",
"provenance",
"destination_action"
]
},
"dependsOn": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"gateOnIcp": {
"type": "boolean"
},
"params": {
"type": "object",
"additionalProperties": true
}
},
"required": [
"id",
"type"
],
"additionalProperties": true
}
},
"expectedRows": {
"type": "number",
"minimum": 1
},
"rationale": {
"type": "string"
}
},
"required": [
"name",
"blocks"
],
"additionalProperties": true
},
"executionMode": {
"type": "string",
"enum": [
"pipeline_hosted",
"external_agent"
],
"description": "Use external_agent for Codex, Claude Code, and CLI subscription inference. Hosted BYOK execution must be selected explicitly with pipeline_hosted."
}
},
"required": [
"briefId",
"blueprint",
"executionMode"
]
}