RunNewEnrichmentRequest
Attributes
Keys are your source-data column headers. Values are arrays of strings (one per row). Any column header name is allowed; all input columns must have the same array length. Row limits vary by endpoint: max 10,000 rows for /run_enrichment, max 1,000 rows for /run_new_enrichment.
promptstringOption 1 (recommended): Natural-language description of the enrichment. Must be provided with attributes. Cannot be combined with output.
attributesarray of stringOption 1 (recommended): Output column names (max 20). Must be provided with prompt. Cannot be combined with output.
outputEnrichmentOutputSpecKeys are output column headers. Values are per-column configuration objects. Any output column name is allowed; see the per-column schema for all supported fields.
Attributes
promptstringAgent instructions for this column (agent mode)
contextsarray of stringColumn headers used as input context (agent mode)
toolsarray of stringAgent tools: web_search, scrape, pdf, image, etc.
formatstringformat_detailsFormatDetailsFormat-specific options. Valid keys depend on the column format (see run_new_enrichment examples).
Only include keys that apply to your chosen format.
Attributes
optionsarray of stringtag — allowed tag values (required for tag format)
allow_multiplebooleantag — allow selecting more than one tag
descriptionsmap of stringtag — optional map from tag value to description (keys must be in options)
decimal_placesintegernumber — decimal places
currency_codestringnumber — 3-letter currency code (mutually exclusive with percentage)
commasbooleannumber — display thousands separators
percentagebooleannumber — format as percentage (mutually exclusive with currency_code)
descriptionstringjson — natural-language schema description (use with or instead of schema)
schemaobjectjson — JSON Schema object for structured output. Strict-mode requirements
(additionalProperties: false, full required arrays) are applied automatically — no need
to include them. Mark optional fields nullable (e.g. "type": ["string", "null"]).
Not supported: $ref, oneOf, allOf, not, non-object/array roots, nesting beyond
10 levels. anyOf is supported.
Attributes
typestringpropertiesmap of objectJSON Schema properties map
iso_8601booleandate — output ISO 8601 (cannot combine with month/day/year/delimiter)
monthstringdate — month format token
daystringdate — day format token
yearstringdate — year format token
delimiterstringdate — single-character delimiter between date parts
true_valuestringboolean — display string for true
false_valuestringboolean — display string for false
run_whenstringWhen this column should run per row (agent and tool-only columns). always (default),
any_filled / all_filled (based on the column's contexts, or its column-mapped tool params
in tool-only mode), or dynamic (rule-based — requires run_when_config).
run_when_configobjectRule-based run condition, required when run_when is dynamic. The column runs for a row
only when its rules match (match_mode: all = every rule must match, any = at least one).
Attributes
match_modestringHow rules combine — all (default) or any
rulesarray of objectNon-empty list of conditions evaluated against the row's cell values
Attributes
columnstringrequiredInput or output column header whose cell value is tested for this row
conditionstringrequiredTest applied to the cell value. is_empty / is_not_empty need no value.
The text_* conditions compare against value (case-insensitive, except
text_is_exactly which is an exact case-sensitive match).
valuestringComparison text for the text_* conditions (ignored for is_empty / is_not_empty)
toolstringTool-only mode: scrape, web_search, pdf, image, code, LinkedIn tools, etc.
urlstringColumn header or static URL (tool-only)
querystringColumn header or static query (tool-only, web_search)
date_startstringOptional start date for filtering search results. Format: YYYY-MM-DD (tool-only, web_search)
date_endstringOptional end date for filtering search results. Format: YYYY-MM-DD. Defaults to today if date_start is provided. (tool-only, web_search)
codestringJavaScript source (tool-only, code tool)
argsmap of stringNamed arguments for the code tool (tool-only). Keys are names referenced in your JavaScript
(e.g. args.first). Values are column headers (dynamic per row) or static strings.
proxy_country_codestringwait_longerbooleanskip_cachebooleanwebhook_urlstring uriURL to POST results when the run completes (same payload as /run_data)