Documents
Update a Single Row
PATCH
/
api
/
datasets
/
{id}
/
rows
/
{row-id}
Path Parameters
id
string
requiredDataset ID
row-id
string
requiredRow ID
Header
Authorization
string
requiredBaseplate API key. Must be in the format โBearer $BASEPLATE_API_KEYโ
Content-Type
string
Use application/json
Body
data
object
requiredUpdated data. Each key in this object should match a column in your dataset. Format is same as above example for insertion. One of metadata or data is required.
metadata
object
requiredUpdated metadata. One of metadata or data is required.
Responses
{
"id": 949495,
"dataset_id": "354ee3c7-891b-4635-9613-857debf92233",
"data": {
"text": "Example"
},
"metadata": {
"url": "/354ee3c7-891b-4635-9613-857debf92233/Example.pdf",
"rowId": 949495,
"documentId": "dad19711-b4b8-4e75-8944-2939bfeb06db"
},
"document_id": "dad19711-b4b8-4e75-8944-2939bfeb06db",
"image_paths": {
"img": "354ee3c7-891b-4635-9613-857debf92233/dad19711-b4b8-4e75-8944-2939bfeb06db/949495/img"
}
}