post https://api.pigro.ai/add_documents
Add all your documents in a single call. These documents, however, will not be visible in search until the train API will be called.
Your Add Documents request body should have the following structure:
{
"documents": [
{
"id": int | str,
"title": str,
"body": str
},
{
"id": int | str,
"title": str,
"body": str,
},
...
]
}