Skip to main content
POST
Create a chain of columns

Authorizations

X-API-Key
string
header
required

Path Parameters

table_id
string<uuid>
required

Body

application/json

Several columns created in order, as one chain, all or none.

items
TableColumnBulkItemSchema · object[]
required

The columns, in the order they are made. An item may name an earlier item by its ref_id, never a later one. Each item takes the same fields as creating one column; its position is where it lands once the items before it exist.

Required array length: 1 - 10 elements
group_name
string | null

Group the new columns under this name when two or more are made. A column that fans out into a group of its own stays in that group instead.

Required string length: 1 - 100
run_first_rows
integer | null

Run the new columns that fill themselves (enrichment, AI and agent columns) on this many of the table's first rows, in chain order, once they are made. Formulas compute on their own. Omit to make the columns without running them.

Required range: 1 <= x <= 100

Response

Successful Response

The columns a chain made, in the order sent, and what was started for them.

data
TableColumnReadSchema · object[]
required

The created columns, in the order sent.

group_id
string<uuid> | null
required

The group they were put in, when one was made.

run_refused
string | null
required

Why the first run did not start (for example not enough credits), when it was asked for and refused. The columns are made either way.

run_request_id
string<uuid> | null
required

The first run asked for them, when one was. The run itself appears on the next active-runs poll, carrying this id as its origin.