Enrichment Tables / TypeScript SDK

Add table rows

Add rows to an enrichment table. Campaign build workers can attach approval-bound pilot or scale context for server-side enforcement.

pipeline.addTableRowsDeterministic 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.
tableIdRequired · string
See the input schema for this field.
rowsRequired · array
See the input schema for this field.
campaignBuildOptional · object
Optional approval-bound campaign build context. Ordinary table writes omit this field.
Request example
await pipeline.addTableRows({
  "tableId": "00000000-0000-4000-8000-000000000000",
  "rows": [
    {}
  ]
})
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."
    },
    "tableId": {
      "type": "string"
    },
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "campaignBuild": {
      "type": "object",
      "description": "Optional approval-bound campaign build context. Ordinary table writes omit this field.",
      "properties": {
        "operationId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "claimToken": {
          "type": "string",
          "minLength": 1,
          "maxLength": 500
        },
        "workOrderId": {
          "type": "string",
          "format": "uuid"
        },
        "briefId": {
          "type": "string",
          "format": "uuid"
        },
        "briefVersion": {
          "type": "integer",
          "minimum": 1
        },
        "phase": {
          "type": "string",
          "enum": [
            "pilot",
            "scale"
          ]
        },
        "sourceScope": {
          "type": "string",
          "minLength": 1,
          "maxLength": 500
        },
        "sourcingPreviewId": {
          "type": "string",
          "format": "uuid",
          "description": "Required for pilot writes. Returned by preview-campaign-source."
        }
      },
      "required": [
        "operationId",
        "claimToken",
        "workOrderId",
        "briefId",
        "briefVersion",
        "phase",
        "sourceScope",
        "sourcingPreviewId"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "tableId",
    "rows"
  ]
}
See this operation inCLI MCP REST API
TypeScript SDK | Pipeline v2 preview