Skip to main content
enrich_worksheet

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
worksheetId
string
required

Worksheet to add the columns to.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
enrichments
object[]
required

Columns to create and fill.

Required array length: 1 - 25 elements
contextColumnIds
string[]

Existing column ids whose per-row values the model reads alongside the conversation.

where
object[]

Enrich only rows matching these filters.

Maximum array length: 20
sampleRows
integer

Enrich only a uniform random sample of this many rows, drawn after where and fresh on each run.

Required range: 1 <= x <= 10000
model
string

Model id; omitted uses the server default. Choose another supported model when the task calls for it. Ids are tenant-specific, and unknown ones are rejected.

Minimum string length: 1
createScaffoldIfMissing
boolean

True turns a worksheet with no pipeline columns into a reusable pipeline on this enrichment; unset runs a plain one-off job.

Response

200

Tool result.