cURL
curl --request POST \ --url https://api.example.com/tables/{table_id}/rows/batch \ --header 'Content-Type: application/json' \ --cookie fastapiusersauth= \ --data ' { "rows": [ {} ] } '
{ "rows_inserted": 123 }
Insert multiple rows into a table atomically.
All rows will be inserted in a single transaction. If any row fails, the entire batch will be rolled back.
Request body for batch inserting rows.
Successful Response
Response for batch insert operation.
Was this page helpful?