post https://api.us-east-1.relevance.ai/latest/datasets//documents/update
Update an existing document by providing its _id
and an object containing the new field values.
This method supports a partial update so you may add new fields or update existing ones. It will not overwrite the entire existing document.
If the provided _id
has no matching document in the dataset, a new document will be created. Likewise, if the provided dataset_id
does not match a dataset in your project a new one will be created.
Support for updating many documents at once with a filter condition is available through /update_where
.