curl --request PUT \
--url https://api.botpress.cloud/v1/tables/{table}/rows \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-bot-id: <x-bot-id>' \
--data '
{
"rows": [
{
"id": 123
}
],
"waitComputed": true
}
'{
"rows": [
{
"id": 123,
"computed": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"stale": [
"<string>"
],
"similarity": 123
}
],
"warnings": [
"<string>"
],
"errors": [
"<string>"
]
}Updates specified rows in a table, allowing partial success with detailed feedback on errors.
curl --request PUT \
--url https://api.botpress.cloud/v1/tables/{table}/rows \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-bot-id: <x-bot-id>' \
--data '
{
"rows": [
{
"id": 123
}
],
"waitComputed": true
}
'{
"rows": [
{
"id": 123,
"computed": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"stale": [
"<string>"
],
"similarity": 123
}
],
"warnings": [
"<string>"
],
"errors": [
"<string>"
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bot id
Integration id
Integration alias
Integration name
User Id
User Role
The table's name or unique identifier for targeting specific table operations.
Data for rows to update, including IDs. Errors affect only specific rows, not the entire batch.
Ensure computed columns are fully processed before returning the result. This is applicable only when the number of rows involved is fewer than 1.
Returns updated rows, including warnings for minor issues and errors for failed updates.
Show child attributes
Unique identifier for the row.
Timestamp of row creation.
Timestamp of the last row update.
[Read-only] List of stale values that are waiting to be recomputed.
Optional numeric value indicating similarity, when using findTableRows.
Alerts for minor issues that don't block the operation but suggest possible improvements.
Critical issues in specific elements that prevent their successful processing, allowing partial operation success.
Was this page helpful?