API Reference

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.

Log in to see full request history

📘

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" }
Body Params
string
required

The webhook url where to receive the training response

Headers
string

Your 32 characters API Key token. If you don't have one yet, register at api.pigro.ai to receive it

Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json