Documents
Upsert Data Rows
Upserts the rows. Creates a document if no document_id is provided in the request. If one is provided, and it already exists, the data rows will be replaced.
POST
/
api
/
datasets
/
{id}
/
rows
/
upsert
Path Parameters
id
string
requiredDataset ID
Header
Authorization
string
requiredBaseplate API key. Must be in the format โBearer $BASEPLATE_API_KEYโ
Body
rows
array
requiredRows 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.