cliDeterministic

Preview campaign source

pipeline preview-campaign-source

Persist the exact campaign-bound sourcing preview before pilot rows are written. Accepts at most 10 rows plus the claimed work order, active brief version, provider, resolved filters, and verified result ceiling. Returns an immutable sourcingPreviewId required by the pilot add-table-rows call.

Parameters

workspaceId
string
Optional with API key auth, inferred from the key.
claimTokenrequired
string
No description.
workOrderIdrequired
string
No description.
briefIdrequired
string
No description.
briefVersionrequired
integer
No description.
sourceScoperequired
string
No description.
providerrequired
string
No description.
accountId
string
No description.
resolvedFiltersrequired
object
No description.
requestedLimit
integer
No description.
availableCount
integer
No description.
rowsrequired
object[]
No description.
rejectedRows
object[]
No description.

Example

CLI commandbash
pipeline preview-campaign-source \
--claim-token "example" \
--work-order-id "00000000-0000-4000-8000-000000000000" \
--brief-id "00000000-0000-4000-8000-000000000000" \
--brief-version 1 \
--source-scope "example" \
--provider "example" \
--resolved-filters-json '{}' \
--rows-json '[{"data":{}}]'

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"sourcingPreviewId": {
"type": "string",
"format": "uuid"
},
"preview": {
"type": "object"
},
"verifiedCeiling": {
"type": "number"
}
},
"required": [
"sourcingPreviewId",
"preview",
"verifiedCeiling"
]
}

Exit codes

1
Invalid input or local configuration.
2
The API or tool returned an error.
3
Authentication failed.
4
A network request failed.
Pipeline CLI documentation | Pipeline