Add a single document. This document will be added to your library and available for search without the need to call the Train API.

Your Add request body should have the following structure:

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