Single document update, you can specify the new title and/or the new content. Your document will be added to your library and visible in search without the need to call the train API.

Your update request body should have the following structure:

{
  "document": {
      "id": str | int,
      "title": str,
      "body": str
    } 
}
Language
Click Try It! to start a request and see the response here!