Training is needed for your uploaded documents to appear in your search results.

Since this step may take some time, depending on your library size, you should call this API with a webhook url to receive info about the training job once it is completed and to know when your library is updated and your documents are searchable.

📘

Important!

Training is needed only after you use the Add multiple documents API or the Update multiple documents API. No need to train if you used the single upload or single update APIs.

The result of the training is a POST request to the webhook you provided as follows:

{
  "success": True,
  "message": "Training went well"
}

If for any reason the training should fail you will receive this POST request:

{
  "success": False,
  "message": "Details of failure here"
}
Language
Click Try It! to start a request and see the response here!