APILegacy
Legacy API. These endpoints keep working. New integrations should use the current API.
Model

EnrichmentStructureResponse

Attributes

request_statusstringrequired
One of success error
messagestringrequired
enrichment_uuidstring uuid
enrichment_namestring
namestring
uuidstring uuid
app_urlstring
statusstring
inputarray of string

Names of input (source data) columns

Keys 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
promptstring

Agent instructions for this column (agent mode)

contextsarray of string

Column headers used as input context (agent mode)

toolsarray of string

Agent tools: web_search, scrape, pdf, image, etc.

formatstring
One of text number url email tag date json boolean
format_detailsFormatDetails

Format-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 string

tag — allowed tag values (required for tag format)

allow_multipleboolean

tag — allow selecting more than one tag

descriptionsmap of string

tag — optional map from tag value to description (keys must be in options)

decimal_placesinteger

number — decimal places

Min 0Max 9
currency_codestring

number — 3-letter currency code (mutually exclusive with percentage)

commasboolean

number — display thousands separators

percentageboolean

number — format as percentage (mutually exclusive with currency_code)

descriptionstring

json — natural-language schema description (use with or instead of schema)

schemaobject

json — 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
typestring
Example object
propertiesmap of object

JSON Schema properties map

iso_8601boolean

date — output ISO 8601 (cannot combine with month/day/year/delimiter)

monthstring

date — month format token

One of M MM MMM MMMM
daystring

date — day format token

One of D DD Do
yearstring

date — year format token

One of YYYY YY
delimiterstring

date — single-character delimiter between date parts

true_valuestring

boolean — display string for true

false_valuestring

boolean — display string for false

run_whenstring

When 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).

One of always any_filled all_filled dynamic
run_when_configobject

Rule-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_modestring

How rules combine — all (default) or any

One of all any
rulesarray of object

Non-empty list of conditions evaluated against the row's cell values

Attributes
columnstringrequired

Input or output column header whose cell value is tested for this row

conditionstringrequired

Test 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).

One of is_empty is_not_empty text_contains text_does_not_contain text_starts_with text_ends_with text_is_exactly
valuestring

Comparison text for the text_* conditions (ignored for is_empty / is_not_empty)

toolstring

Tool-only mode: scrape, web_search, pdf, image, code, LinkedIn tools, etc.

urlstring

Column header or static URL (tool-only)

querystring

Column header or static query (tool-only, web_search)

date_startstring

Optional start date for filtering search results. Format: YYYY-MM-DD (tool-only, web_search)

date_endstring

Optional end date for filtering search results. Format: YYYY-MM-DD. Defaults to today if date_start is provided. (tool-only, web_search)

codestring

JavaScript source (tool-only, code tool)

argsmap of string

Named 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_codestring
wait_longerboolean
skip_cacheboolean

Used by