cURL
curl --request POST \ --url https://app.baseplate.ai/api/datasets/{id}/rows/upsert \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "rows": [ {} ], "document_id": "<string>" }'
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.