Building a webhook integration? Read the webhook guide for signatures, retries, event schemas, and troubleshooting.
apiDeterministic

Execute external table cells

POST /api/enrichment/tables/{tableId}/external-cells

Execute configured AI Generation or Prospector cells with your native external-agent research and reasoning. begin claims up to 100 rows and returns resolved prompts, typed outputs and a 15-minute token. complete validates and commits all results with normal cell states and actual agent attribution; fail records a real error. No hosted inference, cascade, provider impersonation or sends. Use this instead of raw row writes for enrichment execution. Resume with the saved claim token; completed identical submissions replay safely.

Parameters

workspaceId
string
No description.
tableIdrequired
string
No description.
columnIdrequired
string
No description.
operationrequired
string
No description.
begin | complete | fail
rowIds
string[]
No description.
idempotencyKey
string
No description.
agent
string
No description.
Codex | Claude Code | External agent
runId
string
No description.
claimToken
string
No description.
results
object[]
No description.
error
string
No description.

Example

REST requestbash
curl -X POST "https://app.pipeline.help/api/enrichment/tables/00000000-0000-4000-8000-000000000000/external-cells" \
-H "Authorization: Bearer $PIPELINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"columnId":"00000000-0000-4000-8000-000000000000","operation":"begin","rowIds":["00000000-0000-4000-8000-000000000000"],"idempotencyKey":"example"}'

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"runId": {
"type": "string"
},
"status": {
"type": "string"
},
"claimToken": {
"type": "string"
},
"expiresAt": {
"type": "string"
},
"instructions": {
"type": "string"
},
"replay": {
"type": "boolean"
},
"rowIds": {
"type": "array",
"items": {
"type": "string"
}
},
"cells": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rowId": {
"type": "string"
},
"prompt": {
"type": "string"
},
"explicitInputs": {
"type": "boolean"
},
"outputFields": {
"type": "array",
"items": {
"type": "object"
}
},
"inputs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"value": {},
"dependency": {}
},
"required": [
"id",
"name",
"value"
]
}
}
},
"required": [
"rowId",
"prompt",
"explicitInputs",
"outputFields",
"inputs"
]
}
}
},
"required": [
"runId",
"status"
]
}

HTTP errors

401
Missing or invalid API key.
403
Authenticated but not permitted for the workspace or resource.
404
The requested resource was not found.
Pipeline REST API reference | Pipeline