PUT
/
v1
/
tables
/
{table}
/
rows
curl --request PUT \
  --url https://api.botpress.cloud/v1/tables/{table}/rows \
  --header 'Content-Type: application/json' \
  --data '{
  "rows": [
    {
      "id": 123
    }
  ],
  "waitComputed": true
}'
{
  "rows": [
    {
      "id": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "computed": {},
      "stale": [
        "<string>"
      ],
      "similarity": 123
    }
  ],
  "warnings": [
    "<string>"
  ],
  "errors": [
    "<string>"
  ]
}

Path Parameters

table
string
required

The table's name or unique identifier for targeting specific table operations.

Body

application/json
Data for rows to update, including IDs. Errors affect only specific rows, not the entire batch.
rows
object[]
required

Rows with updated data, identified by ID.

waitComputed
boolean

Ensure computed columns are fully processed before returning the result. This is applicable only when the number of rows involved is fewer than 1.

Response

200
application/json
Returns updated rows, including warnings for minor issues and errors for failed updates.
rows
object[]
required
warnings
string[]

Alerts for minor issues that don't block the operation but suggest possible improvements.

errors
string[]

Critical issues in specific elements that prevent their successful processing, allowing partial operation success.