Skip to main content
PATCH
/
api
/
v1
/
datalake
/
{source}
/
databases
/
{db}
/
documents
/
{id}
Update document field
curl --request PATCH \
  --url https://ai-loop.alpeadria.com/api/v1/datalake/{source}/databases/{db}/documents/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "field": "<string>",
  "value": "<unknown>"
}
'
{
  "message": "Update successful",
  "changes": {
    "field": "title",
    "from": "Old Title",
    "to": "New Title"
  }
}
Update or delete specific documents in the Data Lake.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

source
string
required
db
string
required
id
string
required

Body

application/json
field
string
required

The field name to update

value
any
required

The new value for the field

Response

200 - application/json

Field updated successfully.

message
string
changes
object