PATCH
/
api
/
datasets
/
{id}
/
rows
/
{row-id}

Path Parameters

id
string
required

Dataset ID

row-id
string
required

Row ID

Authorization
string
required

Baseplate API key. Must be in the format โ€œBearer $BASEPLATE_API_KEYโ€

Content-Type
string

Use application/json

Body

data
object
required

Updated 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
required

Updated 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"
  }
}