Documents
Upsert Data Rows
POST

/api/datasets/{id}/rows/upsert

Bearer*
curl --request POST \
  --url https://app.baseplate.ai/api/datasets/{id}/rows/upsert \
  --header 'Authorization: <authorization>' \
  --data '{
  "rows": []
}'

​
Path Parameters

idrequired
string

Dataset ID

Authorizationrequired
string

Baseplate API key. Must be in the format β€œBearer $BASEPLATE_API_KEY”

​
Body

rowsrequired
array

Rows to upsert. See Overview for example.

document_id
string

The document ID to upsert. If not provided, a document ID will be created for you.