POST
/
api
/
datasets
/
{id}
/
documents
/
{document-id}
/
rows
curl --request POST \
  --url https://app.baseplate.ai/api/datasets/{id}/documents/{document-id}/rows \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "rows": [
    {}
  ]
}'

Path Parameters

id
string
required

Dataset ID

document-id
string
required

Document ID to add rows under

Authorization
string
required

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

Content-Type
string

Use application/json

Body

rows
array
required

Array of rows to insert to the dataset. See Overview for example.