POST
/
v1
/
table
/
{name}
/
add_columns
curl --request POST \
  --url https://{db}.{region}.api.lancedb.com/v1/table/{name}/add_columns/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "new_columns": [
    {
      "name": "new_column",
      "expression": "old_column + 1"
    }
  ]
}'
This response does not have an example.

Authorizations

x-api-key
string
header
required

Path Parameters

name
string
required

name of the table

Body

application/json
new_columns
object[]

Response

200

Update successful